import { DropzoneOptions } from 'react-dropzone'; import { ReactNode } from 'react'; export type FilesDropzoneProps = { /** * Handles file drop */ onDrop?: DropzoneOptions['onDrop']; /** * Content to render */ children?: ReactNode; /** * Controls if dropzone accepts multiple files */ multiple?: boolean; /** * Array of or comma-separated MIME types/File Extensions to accept * * NB: file extensions must start with `.`
, otherwise they will be treated as MIME types * file extensions will be shown below the dropzone in the description * * Example:
* `.xsl,image/*,.csv`
* Will accept any file with `xsl` or `csv` extensions, and also - any file with `image/...` MIME type */ accept?: string[] | string; /** * Maximum files to accept */ maxFiles?: number; /** * Maximum file size to accept */ maxSize?: number; errorText?: string; className?: string; disabled?: boolean; }; export declare const FilesDropzone: (props: FilesDropzoneProps) => JSX.Element; //# sourceMappingURL=FilesDropzone.d.ts.map