import { FormEvent } from 'react'; import { TableImageCellOptions } from '@grafana/schema'; import { Field, Input } from '@grafana/ui'; import { TableCellEditorProps } from '../TableCellOptionEditor'; export const ImageCellOptionsEditor = ({ cellOptions, onChange }: TableCellEditorProps) => { const onAltChange = (e: FormEvent) => { cellOptions.alt = e.currentTarget.value; onChange(cellOptions); }; const onTitleChange = (e: FormEvent) => { cellOptions.title = e.currentTarget.value; onChange(cellOptions); }; return ( <> ); };