feat(tag): add interactive prop

This commit is contained in:
Eric Y Liu 2021-03-05 14:55:09 -08:00
commit c8d295e5d7
6 changed files with 75 additions and 12 deletions

6
types/Tag/Tag.d.ts vendored
View file

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