dynamic-modal
Version:
The dynamic-modal is a solution of creation different modals into project using a json configuration file
16 lines (12 loc) • 366 B
text/typescript
import { CSSProperties, FC } from 'react';
import { IFieldProps } from './field';
export interface IMakeDescription {
elementType: 'text';
text: string;
containerStyle?: CSSProperties;
textStyle?: CSSProperties;
Icon?: FC;
}
export interface IMakeDescriptionProps extends IFieldProps {
element: Omit<IMakeDescription, 'elementType'>;
}