aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/atoms/headings/heading.stories.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'src/components/atoms/headings/heading.stories.tsx')
-rw-r--r--src/components/atoms/headings/heading.stories.tsx26
1 files changed, 26 insertions, 0 deletions
diff --git a/src/components/atoms/headings/heading.stories.tsx b/src/components/atoms/headings/heading.stories.tsx
index da5a718..0e3885d 100644
--- a/src/components/atoms/headings/heading.stories.tsx
+++ b/src/components/atoms/headings/heading.stories.tsx
@@ -8,10 +8,26 @@ export default {
title: 'Atoms/Typography/Headings',
component: Heading,
args: {
+ alignment: 'left',
isFake: false,
withMargin: true,
},
argTypes: {
+ alignment: {
+ control: {
+ type: 'select',
+ },
+ description: 'The title alignment.',
+ options: ['center', 'left'],
+ table: {
+ category: 'Options',
+ defaultValue: { summary: 'left' },
+ },
+ type: {
+ name: 'string',
+ required: false,
+ },
+ },
className: {
control: {
type: 'text',
@@ -32,6 +48,16 @@ export default {
required: true,
},
},
+ id: {
+ control: {
+ type: 'text',
+ },
+ description: 'An unique id.',
+ type: {
+ name: 'string',
+ required: false,
+ },
+ },
isFake: {
control: {
type: 'boolean',