File upload accept types format (#816)
This commit is contained in:
parent
4b7cc6ddf5
commit
64d5212f0b
@ -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]
|
||||
|
Loading…
Reference in New Issue
Block a user