Update upload docstring (#848)
This commit is contained in:
parent
e193dd6663
commit
945ac53dd0
@ -18,7 +18,9 @@ class Upload(Component):
|
|||||||
|
|
||||||
tag = "ReactDropzone"
|
tag = "ReactDropzone"
|
||||||
|
|
||||||
# The list of accepted file types.
|
# The list of accepted file types. This should be a dictionary of MIME types as keys and array of file formats as
|
||||||
|
# values.
|
||||||
|
# supported MIME types: https://developer.mozilla.org/en-US/docs/Web/HTTP/Basics_of_HTTP/MIME_types/Common_types
|
||||||
accept: Var[Optional[Dict[str, List]]]
|
accept: Var[Optional[Dict[str, List]]]
|
||||||
|
|
||||||
# Whether the dropzone is disabled.
|
# Whether the dropzone is disabled.
|
||||||
|
Loading…
Reference in New Issue
Block a user