UNPKG

dynamic-modal

Version:

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

24 lines (21 loc) 496 B
import { ChangeEvent, CSSProperties } from 'react'; export interface IFileResult { name: string; size: number; data: string; } export interface IInputUpload { id?: string; value?: string; onChange: ( event: ChangeEvent<HTMLInputElement> | IFileResult | FileList | null, ) => void; accept?: string; label?: string; helpText?: string; style?: CSSProperties; readAsArrayBuffer?: boolean; name: string; disabled?: boolean; read?: boolean; }