mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-18 19:46:36 +00:00
feat(tag): add interactive prop
This commit is contained in:
parent
e931527ff2
commit
c8d295e5d7
6 changed files with 75 additions and 12 deletions
6
types/Tag/Tag.d.ts
vendored
6
types/Tag/Tag.d.ts
vendored
|
@ -37,6 +37,12 @@ export interface TagProps
|
|||
*/
|
||||
disabled?: boolean;
|
||||
|
||||
/**
|
||||
* Set to `true` to render a `button` element instead of a `div`
|
||||
* @default false
|
||||
*/
|
||||
interactive?: boolean;
|
||||
|
||||
/**
|
||||
* Set to `true` to display the skeleton state
|
||||
* @default false
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue