Skip to content

Commit 821ea92

Browse files
committed
add argTypes
1 parent 5a1d226 commit 821ea92

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

packages/react/src/components/Badge/Badge.stories.tsx

+4
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,10 @@ const meta: Meta<typeof Badge> = {
2323
options: ['accent', 'info', 'success', 'warning', 'danger', 'neutral'],
2424
control: { type: 'select' },
2525
},
26+
placement: {
27+
options: ['top-right', 'top-left', 'bottom-right', 'bottom-left'],
28+
control: { type: 'radio' },
29+
},
2630
},
2731
};
2832

0 commit comments

Comments
 (0)