diff options
| author | Armand Philippot <git@armandphilippot.com> | 2022-04-13 19:28:16 +0200 |
|---|---|---|
| committer | Armand Philippot <git@armandphilippot.com> | 2022-04-13 19:28:16 +0200 |
| commit | 47e35fcd7c2c346f4799630bf6521d6a4bf49e85 (patch) | |
| tree | 99228c523b6ced1d9c1e83a03a4dd9fc2468e4b0 /src/components/atoms/lists/description-list.stories.tsx | |
| parent | 017d01680a933897df6ddd11d2e081730756250b (diff) | |
chore: add a Card component
Diffstat (limited to 'src/components/atoms/lists/description-list.stories.tsx')
| -rw-r--r-- | src/components/atoms/lists/description-list.stories.tsx | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/src/components/atoms/lists/description-list.stories.tsx b/src/components/atoms/lists/description-list.stories.tsx index c65241d..66d94af 100644 --- a/src/components/atoms/lists/description-list.stories.tsx +++ b/src/components/atoms/lists/description-list.stories.tsx @@ -6,6 +6,9 @@ import DescriptionListComponent, { export default { title: 'Atoms/Lists', component: DescriptionListComponent, + args: { + layout: 'column', + }, argTypes: { className: { control: { @@ -31,6 +34,21 @@ export default { value: {}, }, }, + layout: { + control: { + type: 'select', + }, + description: 'The list layout.', + options: ['column', 'inline'], + table: { + category: 'Options', + defaultValue: { summary: 'column' }, + }, + type: { + name: 'string', + required: false, + }, + }, }, } as ComponentMeta<typeof DescriptionListComponent>; |
