import React, { FC } from 'react'; // @ts-ignore import Highlighter from 'react-highlight-words'; import { FeatureState } from '@grafana/data'; import { Card, FeatureBadge, Icon, LinkButton } from '@grafana/ui'; import { AlertDefinition } from 'app/types'; interface Props { alertDefinition: AlertDefinition; search: string; } export const AlertDefinitionItem: FC = ({ alertDefinition, search }) => { return ( {alertDefinition.description} {[ Edit alert , ]} ); }; const CardTitle = (title: string, search: string) => (
);