diff options
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, +}; |
