diff options
| author | Armand Philippot <git@armandphilippot.com> | 2022-05-21 18:42:19 +0200 | 
|---|---|---|
| committer | Armand Philippot <git@armandphilippot.com> | 2022-05-21 19:24:48 +0200 | 
| commit | 4581c262ca06704baaa3c0a172d509207f41f5c3 (patch) | |
| tree | 45ef2fe8eafbcb3c54d7e4bee708299da40c715c /src/components/templates | |
| parent | 0145e687ccd49da08982f6e281ebcbdcb9ef74a7 (diff) | |
chore: complete Storybook stories
Diffstat (limited to 'src/components/templates')
| -rw-r--r-- | src/components/templates/layout/layout.stories.tsx | 26 | ||||
| -rw-r--r-- | src/components/templates/page/page-layout.stories.tsx | 24 | 
2 files changed, 50 insertions, 0 deletions
| diff --git a/src/components/templates/layout/layout.stories.tsx b/src/components/templates/layout/layout.stories.tsx index 105e808..4666b07 100644 --- a/src/components/templates/layout/layout.stories.tsx +++ b/src/components/templates/layout/layout.stories.tsx @@ -60,6 +60,32 @@ export default {          required: false,        },      }, +    useGrid: { +      control: { +        type: 'boolean', +      }, +      description: 'Use the grid layout.', +      table: { +        category: 'Options', +      }, +      type: { +        name: 'boolean', +        required: false, +      }, +    }, +    withExtraPadding: { +      control: { +        type: 'boolean', +      }, +      description: 'Set additional padding at the bottom of the page.', +      table: { +        category: 'Options', +      }, +      type: { +        name: 'boolean', +        required: false, +      }, +    },    },    decorators: [      (Story) => ( diff --git a/src/components/templates/page/page-layout.stories.tsx b/src/components/templates/page/page-layout.stories.tsx index bec1066..12fe26a 100644 --- a/src/components/templates/page/page-layout.stories.tsx +++ b/src/components/templates/page/page-layout.stories.tsx @@ -33,6 +33,30 @@ export default {          required: false,        },      }, +    bodyAttributes: { +      description: 'Set additional HTML attributes to the main content body.', +      table: { +        category: 'Options', +      }, +      type: { +        name: 'object', +        required: false, +        value: {}, +      }, +    }, +    bodyClassName: { +      control: { +        type: 'text', +      }, +      description: 'Set additional classnames to the main content body.', +      table: { +        category: 'Styles', +      }, +      type: { +        name: 'string', +        required: false, +      }, +    },      breadcrumb: {        description: 'The breadcrumb items.',        type: { | 
