import React from 'react'; import { LegacyForms } from '@grafana/ui'; const { FormField } = LegacyForms; import { ElasticsearchOptions } from '../types'; type Props = { value: ElasticsearchOptions; onChange: (value: ElasticsearchOptions) => void; }; export const LogsConfig = (props: Props) => { const { value, onChange } = props; const changeHandler = (key: keyof ElasticsearchOptions) => ( event: React.SyntheticEvent ) => { onChange({ ...value, [key]: event.currentTarget.value, }); }; return ( <>

Logs

); };