Run "yarn build:docs"

This commit is contained in:
Eric Liu 2022-02-21 08:48:58 -08:00
commit 69772345c4
3 changed files with 18 additions and 0 deletions

View file

@ -1300,6 +1300,7 @@ None.
| :------------------ | :--------------- | :------- | :----------------------------------------------------------------------------------------- | ------------------------------------------------ | -------------------------------------------- |
| ref | <code>let</code> | Yes | <code>null &#124; HTMLInputElement</code> | <code>null</code> | Obtain a reference to the input HTML element |
| labelText | <code>let</code> | Yes | <code>string</code> | <code>"Add file"</code> | Specify the label text |
| files | <code>let</code> | Yes | <code>File[]</code> | <code>[]</code> | Obtain the uploaded file names |
| accept | <code>let</code> | No | <code>string[]</code> | <code>[]</code> | Specify the accepted file types |
| multiple | <code>let</code> | No | <code>boolean</code> | <code>false</code> | Set to `true` to allow multiple files |
| disabled | <code>let</code> | No | <code>boolean</code> | <code>false</code> | Set to `true` to disable the input |

View file

@ -3607,6 +3607,17 @@
"constant": false,
"reactive": false
},
{
"name": "files",
"kind": "let",
"description": "Obtain the uploaded file names",
"type": "File[]",
"value": "[]",
"isFunction": false,
"isFunctionDeclaration": false,
"constant": false,
"reactive": true
},
{
"name": "multiple",
"kind": "let",

View file

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