Update upload docstring (#848)

This commit is contained in:
Elijah Ahianyo 2023-04-19 18:08:31 +00:00 committed by GitHub
parent e193dd6663
commit 945ac53dd0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -18,7 +18,9 @@ class Upload(Component):
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]]]
# Whether the dropzone is disabled.