added docstrings

added docstrings
This commit is contained in:
Stepan Mikhaylyuk
2016-03-14 16:07:24 +03:00
parent 5d3e8313e3
commit ec044fa9fd

View File

@@ -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;
}