diff options
| author | Armand Philippot <git@armandphilippot.com> | 2022-04-20 19:24:21 +0200 |
|---|---|---|
| committer | Armand Philippot <git@armandphilippot.com> | 2022-04-20 19:27:29 +0200 |
| commit | a08291b1586858fc894a27d56f55f87a88f8dbd3 (patch) | |
| tree | 0aa36c8add0ad0ecc07c0f7f20f5af3e2f7abe46 /src/components/atoms/lists/list.stories.tsx | |
| parent | 362cf45bc520a68a1c1be20e1189ca2307577dde (diff) | |
refactor(storybook): reorganize design system
Add more stories for each components and change some components
categories for better organization.
Diffstat (limited to 'src/components/atoms/lists/list.stories.tsx')
| -rw-r--r-- | src/components/atoms/lists/list.stories.tsx | 21 |
1 files changed, 15 insertions, 6 deletions
diff --git a/src/components/atoms/lists/list.stories.tsx b/src/components/atoms/lists/list.stories.tsx index 30079cb..3a80962 100644 --- a/src/components/atoms/lists/list.stories.tsx +++ b/src/components/atoms/lists/list.stories.tsx @@ -1,8 +1,11 @@ import { ComponentMeta, ComponentStory } from '@storybook/react'; import ListComponent, { type ListItem } from './list'; +/** + * List - Storybook Meta + */ export default { - title: 'Atoms/Lists', + title: 'Atoms/Typography/Lists', component: ListComponent, args: { kind: 'unordered', @@ -68,13 +71,19 @@ const items: ListItem[] = [ { id: 'item-4', value: 'Item 4' }, ]; -export const Unordered = Template.bind({}); -Unordered.args = { - items, -}; - +/** + * List Stories - Ordered list + */ export const Ordered = Template.bind({}); Ordered.args = { items, kind: 'ordered', }; + +/** + * List Stories - Unordered list + */ +export const Unordered = Template.bind({}); +Unordered.args = { + items, +}; |
