refactor: update/fix JSDoc props

This commit is contained in:
Eric Liu 2020-11-04 06:04:25 -08:00
commit d38e6d8be6
204 changed files with 992 additions and 2359 deletions

View file

@ -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}