2022-01-03 16:55:09 +08:00
|
|
|
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
|
|
|
|
|
|
exports[`<StyledRadioGroup /> renders radios correctly when no value is provided 1`] = `
|
2022-10-24 16:06:20 +08:00
|
|
|
<DocumentFragment>
|
|
|
|
<label
|
|
|
|
class="mx_StyledRadioButton test-class a-class mx_StyledRadioButton_enabled"
|
2022-01-03 16:55:09 +08:00
|
|
|
>
|
2022-10-24 16:06:20 +08:00
|
|
|
<input
|
|
|
|
aria-describedby="test-Anteater-description"
|
|
|
|
id="test-Anteater"
|
|
|
|
name="test"
|
|
|
|
type="radio"
|
|
|
|
value="Anteater"
|
|
|
|
/>
|
|
|
|
<div>
|
|
|
|
<div />
|
|
|
|
</div>
|
|
|
|
<div
|
|
|
|
class="mx_StyledRadioButton_content"
|
2022-01-03 16:55:09 +08:00
|
|
|
>
|
2022-10-24 16:06:20 +08:00
|
|
|
<span>
|
|
|
|
Anteater label
|
|
|
|
</span>
|
|
|
|
</div>
|
|
|
|
<div
|
|
|
|
class="mx_StyledRadioButton_spacer"
|
|
|
|
/>
|
|
|
|
</label>
|
2022-01-03 16:55:09 +08:00
|
|
|
<span
|
|
|
|
id="test-Anteater-description"
|
|
|
|
>
|
|
|
|
anteater description
|
|
|
|
</span>
|
2022-10-24 16:06:20 +08:00
|
|
|
<label
|
|
|
|
class="mx_StyledRadioButton test-class mx_StyledRadioButton_enabled"
|
2022-01-03 16:55:09 +08:00
|
|
|
>
|
2022-10-24 16:06:20 +08:00
|
|
|
<input
|
|
|
|
id="test-Badger"
|
|
|
|
name="test"
|
|
|
|
type="radio"
|
|
|
|
value="Badger"
|
|
|
|
/>
|
|
|
|
<div>
|
|
|
|
<div />
|
|
|
|
</div>
|
|
|
|
<div
|
|
|
|
class="mx_StyledRadioButton_content"
|
2022-01-03 16:55:09 +08:00
|
|
|
>
|
2022-10-24 16:06:20 +08:00
|
|
|
<span>
|
|
|
|
Badger label
|
|
|
|
</span>
|
|
|
|
</div>
|
|
|
|
<div
|
|
|
|
class="mx_StyledRadioButton_spacer"
|
|
|
|
/>
|
|
|
|
</label>
|
|
|
|
<label
|
|
|
|
class="mx_StyledRadioButton test-class mx_StyledRadioButton_enabled"
|
2022-01-03 16:55:09 +08:00
|
|
|
>
|
2022-10-24 16:06:20 +08:00
|
|
|
<input
|
|
|
|
aria-describedby="test-Canary-description"
|
|
|
|
id="test-Canary"
|
|
|
|
name="test"
|
|
|
|
type="radio"
|
|
|
|
value="Canary"
|
|
|
|
/>
|
|
|
|
<div>
|
|
|
|
<div />
|
|
|
|
</div>
|
|
|
|
<div
|
|
|
|
class="mx_StyledRadioButton_content"
|
2022-01-03 16:55:09 +08:00
|
|
|
>
|
2022-10-24 16:06:20 +08:00
|
|
|
<span>
|
|
|
|
Canary label
|
|
|
|
</span>
|
|
|
|
</div>
|
|
|
|
<div
|
|
|
|
class="mx_StyledRadioButton_spacer"
|
|
|
|
/>
|
|
|
|
</label>
|
2022-01-03 16:55:09 +08:00
|
|
|
<span
|
|
|
|
id="test-Canary-description"
|
|
|
|
>
|
|
|
|
<span>
|
|
|
|
Canary description
|
|
|
|
</span>
|
|
|
|
</span>
|
2022-10-24 16:06:20 +08:00
|
|
|
</DocumentFragment>
|
2022-01-03 16:55:09 +08:00
|
|
|
`;
|