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
2
types/FileUploader/FileUploader.svelte.d.ts
vendored
2
types/FileUploader/FileUploader.svelte.d.ts
vendored
|
@ -79,7 +79,7 @@ export default class FileUploader extends SvelteComponentTyped<
|
|||
{}
|
||||
> {
|
||||
/**
|
||||
* Override the default behavior of clearing the array of uploaded files
|
||||
* Programmatically clear the uploaded files
|
||||
*/
|
||||
clearFiles: () => void;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue