UNPKG

dynamic-modal

Version:

The dynamic-modal is a solution of creation different modals into project using a json configuration file

16 lines (15 loc) 526 B
import { CSSProperties, HTMLAttributes } from 'react'; import { IFieldProps } from './field'; import { IModalField } from './modal'; type IFieldGroupHtmlProps = Omit<HTMLAttributes<HTMLDivElement>, 'style'>; export interface IMakeFieldGroup extends IFieldGroupHtmlProps { elementType: 'group'; customProperties?: Record<string, any>; groups: Array<IModalField>; style?: CSSProperties; title?: string; } export interface IMakeFieldGroupProps extends IFieldProps { element: IMakeFieldGroup; } export {};