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