mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-15 10:21:05 +00:00
refactor: update/fix JSDoc props
This commit is contained in:
parent
3c04f122b0
commit
d38e6d8be6
204 changed files with 992 additions and 2359 deletions
|
@ -1,31 +1,19 @@
|
|||
<script>
|
||||
/**
|
||||
* Set to `true` to use the small variant
|
||||
* @type {boolean} [small=false]
|
||||
*/
|
||||
/** Set to `true` to use the small variant */
|
||||
export let small = false;
|
||||
|
||||
/**
|
||||
* Set to `false` to disable the active state
|
||||
* @type {boolean} [active=true]
|
||||
*/
|
||||
/** Set to `false` to disable the active state */
|
||||
export let active = true;
|
||||
|
||||
/**
|
||||
* Set to `false` to disable the overlay
|
||||
* @type {boolean} [withOverlay=false]
|
||||
*/
|
||||
/** Set to `false` to disable the overlay */
|
||||
export let withOverlay = true;
|
||||
|
||||
/**
|
||||
* Specify the label description
|
||||
* @type {string} [description="Active loading indicator"]
|
||||
*/
|
||||
/** Specify the label description */
|
||||
export let description = "Active loading indicator";
|
||||
|
||||
/**
|
||||
* Set an id for the label element
|
||||
* @type {string} [id]
|
||||
* @type {string}
|
||||
*/
|
||||
export let id = "ccs-" + Math.random().toString(36);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue