mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-15 02:11:05 +00:00
fix(tag): define JSDoc restProps type
This commit is contained in:
parent
1e80e42573
commit
26ce330e1d
4 changed files with 16 additions and 22 deletions
|
@ -1,32 +1,24 @@
|
|||
<script>
|
||||
/**
|
||||
* @restProps {div | span}
|
||||
*/
|
||||
|
||||
/**
|
||||
* Specify the type of tag
|
||||
* @type {"red" | "magenta" | "purple" | "blue" | "cyan" | "teal" | "green" | "gray" | "cool-gray" | "warm-gray" | "high-contrast"} [type]
|
||||
*/
|
||||
export let type = undefined;
|
||||
|
||||
/**
|
||||
* Set to `true` to use filterable variant
|
||||
* @type {boolean}
|
||||
*/
|
||||
/** Set to `true` to use filterable variant */
|
||||
export let filter = false;
|
||||
|
||||
/**
|
||||
* Set to `true` to disable a filterable tag
|
||||
* @type {boolean}
|
||||
*/
|
||||
/** Set to `true` to disable a filterable tag */
|
||||
export let disabled = false;
|
||||
|
||||
/**
|
||||
* Set to `true` to display the skeleton state
|
||||
* @type {boolean}
|
||||
*/
|
||||
/** Set to `true` to display the skeleton state */
|
||||
export let skeleton = false;
|
||||
|
||||
/**
|
||||
* Set the title for the close button in a filterable tag
|
||||
* @type {string}
|
||||
*/
|
||||
/** Set the title for the close button in a filterable tag */
|
||||
export let title = "Clear filter";
|
||||
|
||||
/** Set an id for the filterable tag */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue