Skip to content

Commit 60d89a7

Browse files
authored
chore(Checkbox): stories with label and title (#605)
1 parent 472f9cd commit 60d89a7

File tree

2 files changed

+9
-0
lines changed

2 files changed

+9
-0
lines changed

src/components/fields/Checkbox/Checkbox.stories.tsx

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,9 @@ Default.args = { children: 'Checkbox' };
4646
export const WithLabel = Template.bind({});
4747
WithLabel.args = { label: 'Checkbox' };
4848

49+
export const WithLabelAndTitle = Template.bind({});
50+
WithLabelAndTitle.args = { children: 'Title', label: 'Label' };
51+
4952
export const WithoutLabel = Template.bind({});
5053
WithoutLabel.args = {};
5154

src/components/fields/Switch/Switch.stories.tsx

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,12 @@ WithLabel.args = {
4242
label: 'Switch',
4343
};
4444

45+
export const WithLabelAndTitle = Template.bind({});
46+
WithLabelAndTitle.args = {
47+
label: 'Label',
48+
children: 'Title',
49+
};
50+
4551
export const Small = Template.bind({});
4652
Small.args = {
4753
children: 'Switch',

0 commit comments

Comments
 (0)