import { DataQuery } from '@grafana/data'; import { Button, FilterPill, Modal, Stack } from '@grafana/ui'; import { testIds } from '../../testIds'; import { ReactElement, useState } from 'react'; import { selectQuery } from '../../utils/utils'; type Props = { targets: DataQuery[] | undefined; onDismiss?: () => void; }; export function QueryModal(props: Props): ReactElement { const { targets = [], onDismiss } = props; const [selected, setSelected] = useState(targets[0]); return (
Please select the query you would like to use to create "something" in the plugin.