Skip to content

Commit 76eded2

Browse files
committed
fixes regression in CheckboxGroup and RadioGroup fixture stories
1 parent 2c034c9 commit 76eded2

File tree

2 files changed

+0
-2
lines changed

2 files changed

+0
-2
lines changed

src/stories/CheckboxGroup/fixtures.stories.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,6 @@ export const WithExternalLabel = ({
102102
{labelChildren} {parentArgs.required && '*'}
103103
</Box>
104104
<CheckboxGroup aria-labelledby="choiceHeading" {...parentArgs}>
105-
{labelChildren && <CheckboxGroup.Label>{labelChildren}</CheckboxGroup.Label>}
106105
{captionChildren && <CheckboxGroup.Caption>{captionChildren}</CheckboxGroup.Caption>}
107106
<FormControl>
108107
<Checkbox />

src/stories/RadioGroup/fixtures.stories.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,6 @@ export const WithExternalLabel = ({
102102
{labelChildren} {parentArgs.required && '*'}
103103
</Box>
104104
<RadioGroup aria-labelledby="choiceHeading" name="externalLabelRadioGroup" {...parentArgs}>
105-
{labelChildren && <RadioGroup.Label>{labelChildren}</RadioGroup.Label>}
106105
{captionChildren && <RadioGroup.Caption>{captionChildren}</RadioGroup.Caption>}
107106
<FormControl>
108107
<Radio value="choiceOne" />

0 commit comments

Comments
 (0)