2023-04-18 19:38:41 +08:00
|
|
|
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
|
|
|
|
|
|
exports[`GenericToast should render as expected with detail content 1`] = `
|
|
|
|
<DocumentFragment>
|
|
|
|
<div>
|
|
|
|
<div
|
|
|
|
class="mx_Toast_description"
|
|
|
|
>
|
|
|
|
<div>
|
|
|
|
Description
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div
|
|
|
|
aria-live="off"
|
|
|
|
class="mx_Toast_buttons"
|
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="mx_AccessibleButton mx_AccessibleButton_hasKind mx_AccessibleButton_kind_danger_outline"
|
|
|
|
role="button"
|
|
|
|
tabindex="0"
|
|
|
|
>
|
|
|
|
Reject
|
|
|
|
</div>
|
|
|
|
<div
|
|
|
|
class="mx_AccessibleButton mx_AccessibleButton_hasKind mx_AccessibleButton_kind_primary"
|
|
|
|
role="button"
|
|
|
|
tabindex="0"
|
|
|
|
>
|
|
|
|
Accept
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</DocumentFragment>
|
|
|
|
`;
|
|
|
|
|
|
|
|
exports[`GenericToast should render as expected without detail content 1`] = `
|
|
|
|
<DocumentFragment>
|
|
|
|
<div>
|
|
|
|
<div
|
|
|
|
class="mx_Toast_description"
|
|
|
|
>
|
|
|
|
<div>
|
|
|
|
Description
|
|
|
|
</div>
|
2023-04-28 22:56:26 +08:00
|
|
|
<div
|
|
|
|
class="mx_Toast_detail"
|
2023-04-18 19:38:41 +08:00
|
|
|
>
|
|
|
|
Detail
|
2023-04-28 22:56:26 +08:00
|
|
|
</div>
|
2023-04-18 19:38:41 +08:00
|
|
|
</div>
|
|
|
|
<div
|
|
|
|
aria-live="off"
|
|
|
|
class="mx_Toast_buttons"
|
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="mx_AccessibleButton mx_AccessibleButton_hasKind mx_AccessibleButton_kind_danger_outline"
|
|
|
|
role="button"
|
|
|
|
tabindex="0"
|
|
|
|
>
|
|
|
|
Reject
|
|
|
|
</div>
|
|
|
|
<div
|
|
|
|
class="mx_AccessibleButton mx_AccessibleButton_hasKind mx_AccessibleButton_kind_primary"
|
|
|
|
role="button"
|
|
|
|
tabindex="0"
|
|
|
|
>
|
|
|
|
Accept
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</DocumentFragment>
|
|
|
|
`;
|