diff --git a/src/components/fields/Checkbox/Checkbox.stories.tsx b/src/components/fields/Checkbox/Checkbox.stories.tsx index 4da36f119..55de8f582 100644 --- a/src/components/fields/Checkbox/Checkbox.stories.tsx +++ b/src/components/fields/Checkbox/Checkbox.stories.tsx @@ -46,6 +46,9 @@ Default.args = { children: 'Checkbox' }; export const WithLabel = Template.bind({}); WithLabel.args = { label: 'Checkbox' }; +export const WithLabelAndTitle = Template.bind({}); +WithLabelAndTitle.args = { children: 'Title', label: 'Label' }; + export const WithoutLabel = Template.bind({}); WithoutLabel.args = {}; diff --git a/src/components/fields/Switch/Switch.stories.tsx b/src/components/fields/Switch/Switch.stories.tsx index 8afc6aef4..0f3e37efc 100644 --- a/src/components/fields/Switch/Switch.stories.tsx +++ b/src/components/fields/Switch/Switch.stories.tsx @@ -42,6 +42,12 @@ WithLabel.args = { label: 'Switch', }; +export const WithLabelAndTitle = Template.bind({}); +WithLabelAndTitle.args = { + label: 'Label', + children: 'Title', +}; + export const Small = Template.bind({}); Small.args = { children: 'Switch',