mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-15 02:11:05 +00:00
chore: add more type docs
This commit is contained in:
parent
773b18d314
commit
c3f924c25a
45 changed files with 517 additions and 50 deletions
|
@ -1,7 +1,21 @@
|
|||
<script>
|
||||
/**
|
||||
* Specify the filename status
|
||||
* @type {"uploading" | "edit" | "complete"} [status="uploading"]
|
||||
*/
|
||||
export let status = "uploading";
|
||||
|
||||
/**
|
||||
* Define the ARIA label used for the status icons
|
||||
* @type {string} [iconDescription=""]
|
||||
*/
|
||||
export let iconDescription = "";
|
||||
|
||||
/**
|
||||
* Set to `true` to indicate an invalid state
|
||||
* @type {boolean} [invalid=false]
|
||||
*/
|
||||
export let invalid = false;
|
||||
export let status = "uploading"; // "uploading" | "edit" | "complete"
|
||||
|
||||
import Close16 from "carbon-icons-svelte/lib/Close16";
|
||||
import CheckmarkFilled16 from "carbon-icons-svelte/lib/CheckmarkFilled16";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue