dynamic-modal
Version:
The dynamic-modal is a solution of creation different modals into project using a json configuration file
15 lines (14 loc) • 527 B
TypeScript
import { ChangeEvent, CSSProperties, InputHTMLAttributes } from 'react';
type ICustomUploadHtmlProps = Omit<InputHTMLAttributes<HTMLInputElement>, 'id' | 'style' | 'name' | 'disabled' | 'value' | 'onChange' | 'type'>;
export interface ICustomUpload extends ICustomUploadHtmlProps {
id?: string;
value?: string;
onChange: (event: ChangeEvent<HTMLInputElement>) => void;
accept?: string;
label?: string;
helpText?: string;
style?: CSSProperties;
name: string;
disabled?: boolean;
}
export {};