UNPKG

@gpa-gemstone/react-forms

Version:
18 lines (17 loc) 541 B
interface IProps { /** * Callback function that will be called when a file is uploaded * */ OnLoadHandler: (result: File) => Promise<any>; /** * Callback function that will be called when clear button is clicked * */ OnClearHandler: () => void; /** * Attribute used to control what type of files are filtered by default in file explorer * @type {string} * */ FileTypeAttribute: string; } declare const FileUpload: (props: IProps) => JSX.Element; export default FileUpload;