import { css } from '@emotion/css'; import React, { FC } from 'react'; import { Modal, stylesFactory } from '@grafana/ui'; import { OnRowOptionsUpdate, RowOptionsForm } from './RowOptionsForm'; export interface RowOptionsModalProps { title: string; repeat?: string | null; onDismiss: () => void; onUpdate: OnRowOptionsUpdate; } export const RowOptionsModal: FC = ({ repeat, title, onDismiss, onUpdate }) => { const styles = getStyles(); return ( ); }; const getStyles = stylesFactory(() => { return { modal: css` label: RowOptionsModal; width: 500px; `, }; });