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
|
@ -7,36 +7,36 @@
|
|||
|
||||
/**
|
||||
* Set to `true` to use filterable variant
|
||||
* @type {boolean} [filter=false]
|
||||
* @type {boolean}
|
||||
*/
|
||||
export let filter = false;
|
||||
|
||||
/**
|
||||
* Set to `true` to disable a filterable tag
|
||||
* @type {boolean} [disabled=false]
|
||||
* @type {boolean}
|
||||
*/
|
||||
export let disabled = false;
|
||||
|
||||
/**
|
||||
* Set to `true` to display the skeleton state
|
||||
* @type {boolean} [skeleton=false]
|
||||
* @type {boolean}
|
||||
*/
|
||||
export let skeleton = false;
|
||||
|
||||
/**
|
||||
* Set the title for the close button in a filterable tag
|
||||
* @type {string} [title="Clear filter"]
|
||||
* @type {string}
|
||||
*/
|
||||
export let title = "Clear filter";
|
||||
|
||||
/**
|
||||
* Set an id for the filterable tag
|
||||
* @type {string} [id]
|
||||
* @type {string}
|
||||
*/
|
||||
export let id = "ccs-" + Math.random().toString(36);
|
||||
|
||||
import Close16 from "carbon-icons-svelte/lib/Close16";
|
||||
import TagSkeleton from "./Tag.Skeleton.svelte";
|
||||
import TagSkeleton from "./TagSkeleton.svelte";
|
||||
</script>
|
||||
|
||||
{#if skeleton}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue