feat(file-uploader-button): support files prop (#1120)

Closes #1116
This commit is contained in:
metonym 2022-02-21 13:32:05 -08:00 committed by GitHub
commit 7586b2a10f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 39 additions and 8 deletions

View file

@ -9,6 +9,12 @@ export interface FileUploaderButtonProps
*/
accept?: string[];
/**
* Obtain a reference to the uploaded files
* @default []
*/
files?: File[];
/**
* Set to `true` to allow multiple files
* @default false