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/organisms/forms/comment-form.stories.tsx | |
| parent | 0145e687ccd49da08982f6e281ebcbdcb9ef74a7 (diff) | |
chore: complete Storybook stories
Diffstat (limited to 'src/components/organisms/forms/comment-form.stories.tsx')
| -rw-r--r-- | src/components/organisms/forms/comment-form.stories.tsx | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/src/components/organisms/forms/comment-form.stories.tsx b/src/components/organisms/forms/comment-form.stories.tsx index 8b11df7..1a9e7b7 100644 --- a/src/components/organisms/forms/comment-form.stories.tsx +++ b/src/components/organisms/forms/comment-form.stories.tsx @@ -13,6 +13,8 @@ export default { component: CommentForm, args: { saveComment, + titleAlignment: 'left', + titleLevel: 2, }, argTypes: { className: { @@ -56,6 +58,9 @@ export default { type: null, }, description: 'A callback function to process the comment form data.', + table: { + category: 'Events', + }, type: { name: 'function', required: true, @@ -74,6 +79,21 @@ export default { required: false, }, }, + titleAlignment: { + control: { + type: 'select', + }, + description: 'The heading alignment.', + options: ['center', 'left'], + table: { + category: 'Options', + defaultValue: { summary: 'left' }, + }, + type: { + name: 'string', + required: false, + }, + }, titleLevel: { control: { type: 'number', @@ -83,6 +103,7 @@ export default { description: 'The title level (hn).', table: { category: 'Options', + defaultValue: { summary: 2 }, }, type: { name: 'number', |
