Skip to content

Commit 075def9

Browse files
spaceokasperbirch1
authored andcommitted
Add updated controls to tag story
1 parent efc462c commit 075def9

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

src/stories/Library/tag/Tag.stories.tsx

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,20 @@ export default {
1616
},
1717
layout: "centered",
1818
},
19+
argTypes: {
20+
hasBackground: {
21+
control: { type: "boolean" },
22+
defaultValue: false,
23+
},
24+
showCloseIcon: {
25+
control: { type: "boolean" },
26+
defaultValue: false,
27+
},
28+
isClickable: {
29+
control: { type: "boolean" },
30+
defaultValue: true,
31+
},
32+
},
1933
};
2034

2135
export const Tag: ComponentStory<TagProps> = (args) => (

0 commit comments

Comments
 (0)