Skip to content

Commit ae5947a

Browse files
committed
docs(storybook-react): update SpotlightSection stories by adding new types
Added new stories for Error and Ok types
1 parent 3cba6c0 commit ae5947a

File tree

1 file changed

+13
-1
lines changed

1 file changed

+13
-1
lines changed

packages/storybook-react/src/stories/SpotlightSection.stories.tsx

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ const meta = {
1818
type: {
1919
name: 'Type',
2020
control: { type: 'select' },
21-
options: ['', 'info', 'warning'],
21+
options: ['', 'info', 'warning', 'error', 'ok'],
2222
},
2323
},
2424
args: {
@@ -62,4 +62,16 @@ export const Warning: Story = {
6262
},
6363
};
6464

65+
export const Error: Story = {
66+
args: {
67+
type: 'error',
68+
},
69+
};
70+
71+
export const Ok: Story = {
72+
args: {
73+
type: 'ok',
74+
},
75+
};
76+
6577
export const DesignTokens = designTokenStory(meta);

0 commit comments

Comments
 (0)