diff options
Diffstat (limited to 'src/components/atoms/layout/notice.stories.tsx')
| -rw-r--r-- | src/components/atoms/layout/notice.stories.tsx | 39 |
1 files changed, 36 insertions, 3 deletions
diff --git a/src/components/atoms/layout/notice.stories.tsx b/src/components/atoms/layout/notice.stories.tsx index 0555a2e..62f4cba 100644 --- a/src/components/atoms/layout/notice.stories.tsx +++ b/src/components/atoms/layout/notice.stories.tsx @@ -1,8 +1,11 @@ import { ComponentMeta, ComponentStory } from '@storybook/react'; import NoticeComponent from './notice'; +/** + * Notice - Storybook Meta + */ export default { - title: 'Atoms/Layout', + title: 'Atoms/Layout/Notice', component: NoticeComponent, argTypes: { kind: { @@ -33,8 +36,38 @@ const Template: ComponentStory<typeof NoticeComponent> = (args) => ( <NoticeComponent {...args} /> ); -export const Notice = Template.bind({}); -Notice.args = { +/** + * Notice stories - Error + */ +export const Error = Template.bind({}); +Error.args = { + kind: 'error', + message: 'Nisi provident sapiente.', +}; + +/** + * Notice stories - Info + */ +export const Info = Template.bind({}); +Info.args = { kind: 'info', message: 'Nisi provident sapiente.', }; + +/** + * Notice stories - Success + */ +export const Success = Template.bind({}); +Success.args = { + kind: 'success', + message: 'Nisi provident sapiente.', +}; + +/** + * Notice stories - Warning + */ +export const Warning = Template.bind({}); +Warning.args = { + kind: 'warning', + message: 'Nisi provident sapiente.', +}; |
