Skip to content

Commit

Permalink
docs(storybook-react): update SpotlightSection stories by adding new …
Browse files Browse the repository at this point in the history
…types

Added new stories for Error and Ok types
  • Loading branch information
AliKdhim87 authored and Robbert committed Sep 30, 2024
1 parent 65356de commit d1a8565
Showing 1 changed file with 13 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ const meta = {
type: {
name: 'Type',
control: { type: 'select' },
options: ['', 'info', 'warning'],
options: ['', 'info', 'warning', 'error', 'ok'],
},
},
args: {
Expand Down Expand Up @@ -62,4 +62,16 @@ export const Warning: Story = {
},
};

export const Error: Story = {
args: {
type: 'error',
},
};

export const Ok: Story = {
args: {
type: 'ok',
},
};

export const DesignTokens = designTokenStory(meta);

0 comments on commit d1a8565

Please sign in to comment.