aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/atoms/lists/description-list.stories.tsx
diff options
context:
space:
mode:
authorArmand Philippot <git@armandphilippot.com>2022-04-13 19:28:16 +0200
committerArmand Philippot <git@armandphilippot.com>2022-04-13 19:28:16 +0200
commit47e35fcd7c2c346f4799630bf6521d6a4bf49e85 (patch)
tree99228c523b6ced1d9c1e83a03a4dd9fc2468e4b0 /src/components/atoms/lists/description-list.stories.tsx
parent017d01680a933897df6ddd11d2e081730756250b (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.tsx18
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>;