UNPKG

dynamic-modal

Version:

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

11 lines (10 loc) 494 B
import { InputHTMLAttributes } from 'react'; import { IField, IFieldProps } from './field'; type ICustomUploadHtmlProps = Omit<InputHTMLAttributes<HTMLInputElement>, 'name' | 'id' | 'style' | 'onChange' | 'value' | 'defaultValue' | 'disabled' | 'type'>; export interface IMakeCustomUpload extends IField, ICustomUploadHtmlProps { elementType: 'custom-upload'; } export interface IMakeCustomUploadProps extends IFieldProps { element: Omit<IMakeCustomUpload, 'elementType'>; } export {};