We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9f7a2e8 commit a026cd8Copy full SHA for a026cd8
components/fieldlabel/stories/fieldlabel.stories.js
@@ -85,3 +85,19 @@ RightAligned.args = {
85
alignment: "right",
86
style: { width: "72px" },
87
};
88
+
89
+export const Required = Template.bind({});
90
+Required.args = {
91
+ label: "Label example",
92
+ alignment: "left",
93
+ isRequired: true,
94
+ style: { width: "200px" },
95
+};
96
97
+export const WrappingAndRequired = Template.bind({});
98
+WrappingAndRequired.args = {
99
+ label: "Label example with longer text that will wrap to the next line. And with an asterisk that marks it as required.",
100
101
102
103
0 commit comments