File upload accept types format (#816)

This commit is contained in:
Elijah Ahianyo 2023-04-13 16:38:31 +00:00 committed by GitHub
parent 4b7cc6ddf5
commit 64d5212f0b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -19,7 +19,7 @@ class Upload(Component):
tag = "ReactDropzone"
# The list of accepted file types.
accept: Var[Optional[List[str]]]
accept: Var[Optional[Dict[str, List]]]
# Whether the dropzone is disabled.
disabled: Var[bool]