synapse-react-client
Version:
[](https://badge.fury.io/js/synapse-react-client) [](https://github.com/prettier/prettie
11 lines • 607 B
TypeScript
import { ConfirmationDialogProps } from '../ConfirmationDialog';
import { JSONArrayEditorProps } from './JSONArrayEditor';
export type JSONArrayEditorModalProps<T = unknown> = Pick<JSONArrayEditorProps<T>, 'arrayItemDefinition' | 'value'> & {
dialogTitle?: ConfirmationDialogProps['title'];
isShowingModal: boolean;
onConfirm: (value: T[]) => void;
onCancel: () => void;
};
declare function JSONArrayEditorModal<T = unknown>(props: JSONArrayEditorModalProps<T>): import("react/jsx-runtime").JSX.Element;
export default JSONArrayEditorModal;
//# sourceMappingURL=JSONArrayEditorModal.d.ts.map