We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 472f9cd commit 60d89a7Copy full SHA for 60d89a7
src/components/fields/Checkbox/Checkbox.stories.tsx
@@ -46,6 +46,9 @@ Default.args = { children: 'Checkbox' };
46
export const WithLabel = Template.bind({});
47
WithLabel.args = { label: 'Checkbox' };
48
49
+export const WithLabelAndTitle = Template.bind({});
50
+WithLabelAndTitle.args = { children: 'Title', label: 'Label' };
51
+
52
export const WithoutLabel = Template.bind({});
53
WithoutLabel.args = {};
54
src/components/fields/Switch/Switch.stories.tsx
@@ -42,6 +42,12 @@ WithLabel.args = {
42
label: 'Switch',
43
};
44
45
+WithLabelAndTitle.args = {
+ label: 'Label',
+ children: 'Title',
+};
export const Small = Template.bind({});
Small.args = {
children: 'Switch',
0 commit comments