mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-15 02:11:05 +00:00
fix(file-uploader): update clearFiles
accessor description (#1122)
The `clearFiles` prop description currently reads "Override the default behavior of clearing the array of uploaded files." This is misleading as `clearFiles` is a component accessor, not a `let` prop.
This commit is contained in:
parent
cd687f0e1b
commit
2f3cff2942
5 changed files with 21 additions and 16 deletions
|
@ -3503,7 +3503,7 @@
|
|||
{
|
||||
"name": "clearFiles",
|
||||
"kind": "const",
|
||||
"description": "Override the default behavior of clearing the array of uploaded files",
|
||||
"description": "Programmatically clear the uploaded files",
|
||||
"type": "() => void",
|
||||
"value": "() => { files = []; }",
|
||||
"isFunction": true,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue