aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/atoms/notice/notice.stories.ts
blob: 1f0723b94728959234fe23593dd2eb905461bee5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
import type { Meta, StoryObj } from '@storybook/react';
import { Notice } from './notice';

const meta = {
  component: Notice,
  title: 'Atoms/Notice',
} satisfies Meta<typeof Notice>;

export default meta;

type Story = StoryObj<typeof meta>;

export const ErrorKind: Story = {
  args: {
    children: 'Nisi provident sapiente.',
    kind: 'error',
  },
};

export const InfoKind: Story = {
  args: {
    children: 'Nisi provident sapiente.',
    kind: 'info',
  },
};

export const SuccessKind: Story = {
  args: {
    children: 'Nisi provident sapiente.',
    kind: 'success',
  },
};

export const WarningKind: Story = {
  args: {
    children: 'Nisi provident sapiente.',
    kind: 'warning',
  },
};