UNPKG

480 BTypeScriptView Raw
1export interface UploadProps {
2 btnText?: React.ReactType;
3 bucketId: string;
4 customerId: string;
5 clientId: string;
6 allowedFileNameCharacters?: string;
7 allowedFileTypes?: string[];
8 onFileUpload?: Function;
9 onFileRemove?: Function;
10 maxSize?: number;
11 max?: number;
12 multiple?: boolean;
13 children?: Function;
14 name?: string;
15 showFileDrop?: boolean;
16}
17
18declare const Upload: React.ComponentType<UploadProps>;
19
20export default Upload;