2022-05-18 16:20:55 +00:00
|
|
|
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
|
|
|
|
|
|
exports[`<LabelledCheckbox /> should render with byline of "this is a byline" 1`] = `
|
2023-02-09 11:23:34 +00:00
|
|
|
<DocumentFragment>
|
2022-05-18 16:20:55 +00:00
|
|
|
<label
|
2023-02-09 11:23:34 +00:00
|
|
|
class="mx_LabelledCheckbox"
|
2022-05-18 16:20:55 +00:00
|
|
|
>
|
2023-02-09 11:23:34 +00:00
|
|
|
<span
|
|
|
|
class="mx_Checkbox mx_Checkbox_hasKind mx_Checkbox_kind_solid"
|
2022-05-18 16:20:55 +00:00
|
|
|
>
|
2023-02-09 11:23:34 +00:00
|
|
|
<input
|
|
|
|
checked=""
|
|
|
|
id="checkbox_abdefghi"
|
|
|
|
type="checkbox"
|
|
|
|
/>
|
|
|
|
<label
|
|
|
|
for="checkbox_abdefghi"
|
2022-05-18 16:20:55 +00:00
|
|
|
>
|
2023-02-09 11:23:34 +00:00
|
|
|
<div
|
|
|
|
class="mx_Checkbox_background"
|
2022-05-18 16:20:55 +00:00
|
|
|
>
|
|
|
|
<div
|
2023-02-09 11:23:34 +00:00
|
|
|
class="mx_Checkbox_checkmark"
|
|
|
|
/>
|
|
|
|
</div>
|
|
|
|
</label>
|
|
|
|
</span>
|
2022-05-18 16:20:55 +00:00
|
|
|
<div
|
2023-02-09 11:23:34 +00:00
|
|
|
class="mx_LabelledCheckbox_labels"
|
2022-05-18 16:20:55 +00:00
|
|
|
>
|
|
|
|
<span
|
2023-02-09 11:23:34 +00:00
|
|
|
class="mx_LabelledCheckbox_label"
|
2022-05-18 16:20:55 +00:00
|
|
|
>
|
|
|
|
Hello world
|
|
|
|
</span>
|
|
|
|
<span
|
2023-02-09 11:23:34 +00:00
|
|
|
class="mx_LabelledCheckbox_byline"
|
2022-05-18 16:20:55 +00:00
|
|
|
>
|
|
|
|
this is a byline
|
|
|
|
</span>
|
|
|
|
</div>
|
|
|
|
</label>
|
2023-02-09 11:23:34 +00:00
|
|
|
</DocumentFragment>
|
2022-05-18 16:20:55 +00:00
|
|
|
`;
|
|
|
|
|
2023-02-09 11:23:34 +00:00
|
|
|
exports[`<LabelledCheckbox /> should render with byline of undefined 1`] = `
|
|
|
|
<DocumentFragment>
|
2022-05-18 16:20:55 +00:00
|
|
|
<label
|
2023-02-09 11:23:34 +00:00
|
|
|
class="mx_LabelledCheckbox"
|
2022-05-18 16:20:55 +00:00
|
|
|
>
|
2023-02-09 11:23:34 +00:00
|
|
|
<span
|
|
|
|
class="mx_Checkbox mx_Checkbox_hasKind mx_Checkbox_kind_solid"
|
2022-05-18 16:20:55 +00:00
|
|
|
>
|
2023-02-09 11:23:34 +00:00
|
|
|
<input
|
|
|
|
checked=""
|
|
|
|
id="checkbox_abdefghi"
|
|
|
|
type="checkbox"
|
|
|
|
/>
|
|
|
|
<label
|
|
|
|
for="checkbox_abdefghi"
|
2022-05-18 16:20:55 +00:00
|
|
|
>
|
2023-02-09 11:23:34 +00:00
|
|
|
<div
|
|
|
|
class="mx_Checkbox_background"
|
2022-05-18 16:20:55 +00:00
|
|
|
>
|
|
|
|
<div
|
2023-02-09 11:23:34 +00:00
|
|
|
class="mx_Checkbox_checkmark"
|
|
|
|
/>
|
|
|
|
</div>
|
|
|
|
</label>
|
|
|
|
</span>
|
2022-05-18 16:20:55 +00:00
|
|
|
<div
|
2023-02-09 11:23:34 +00:00
|
|
|
class="mx_LabelledCheckbox_labels"
|
2022-05-18 16:20:55 +00:00
|
|
|
>
|
|
|
|
<span
|
2023-02-09 11:23:34 +00:00
|
|
|
class="mx_LabelledCheckbox_label"
|
2022-05-18 16:20:55 +00:00
|
|
|
>
|
|
|
|
Hello world
|
|
|
|
</span>
|
|
|
|
</div>
|
|
|
|
</label>
|
2023-02-09 11:23:34 +00:00
|
|
|
</DocumentFragment>
|
2022-05-18 16:20:55 +00:00
|
|
|
`;
|