Skip to content

Commit 31c3e48

Browse files
review update
1 parent 9f583f5 commit 31c3e48

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

stories/Form Elements/Fieldset.stories.tsx

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,15 @@ export const WithLegendAsAPageHeading: Story = {
7575
),
7676
};
7777

78+
export const WithLegendHTML: Story = {
79+
name: 'With HTML',
80+
render: () => (
81+
<Fieldset>
82+
<Fieldset.Legend>What is your address? <strong>small note: this is your home address</strong></Fieldset.Legend>
83+
</Fieldset>
84+
),
85+
};
86+
7887
export const WithCustomLegendSizeS: Story = {
7988
name: 'With Bold Text (S)',
8089
render: () => (
@@ -110,12 +119,3 @@ export const WithCustomLegendSizeXL: Story = {
110119
</Fieldset>
111120
),
112121
};
113-
114-
export const WithLegendHTML: Story = {
115-
name: 'With HTML',
116-
render: () => (
117-
<Fieldset>
118-
<Fieldset.Legend>What is your address? <strong>small note: this is your home address</strong></Fieldset.Legend>
119-
</Fieldset>
120-
),
121-
};

0 commit comments

Comments
 (0)