mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-04-26 06:05:54 +08:00
added docstrings
added docstrings
This commit is contained in:
13
react-dropzone/react-dropzone.d.ts
vendored
13
react-dropzone/react-dropzone.d.ts
vendored
@@ -18,8 +18,20 @@ declare module ReactDropzone {
|
||||
className?: string;
|
||||
activeClassName?: string;
|
||||
rejectClassName?: string;
|
||||
/**
|
||||
* Clicking the <Dropzone> brings up the browser file picker. To disable, set to true.
|
||||
*/
|
||||
disableClick?: boolean;
|
||||
/**
|
||||
* To accept only a single file, set this to false.
|
||||
*/
|
||||
multiple?: boolean;
|
||||
/**
|
||||
* Filters the file types that are valid. It should have a valid MIME type according to input element, for example:
|
||||
* application/pdf
|
||||
* image/*
|
||||
* audio/aiff,audio/midi
|
||||
*/
|
||||
accept?: string;
|
||||
}
|
||||
|
||||
@@ -32,3 +44,4 @@ declare module "react-dropzone" {
|
||||
const Dropzone: typeof ReactDropzone.Dropzone;
|
||||
export = Dropzone;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user