dynamic-modal
Version:
The dynamic-modal is a solution of creation different modals into project using a json configuration file
15 lines (12 loc) • 368 B
text/typescript
import { IField, IFieldProps } from './field';
export interface IMakeUpload extends Omit<IField, 'defaultValue'> {
elementType: 'upload';
helpText?: string;
read: boolean;
image?: boolean;
accept?: string;
readAsArrayBuffer?: boolean;
}
export interface IMakeUploadProps extends IFieldProps {
element: Omit<IMakeUpload, 'elementType'>;
}