mirror of
https://github.com/element-hq/element-web.git
synced 2024-12-16 00:51:31 +03:00
37 lines
783 B
Text
37 lines
783 B
Text
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
|
|
exports[`<AccessibleButton /> renders a button element 1`] = `
|
|
<DocumentFragment>
|
|
<button
|
|
class="mx_AccessibleButton"
|
|
role="button"
|
|
tabindex="0"
|
|
>
|
|
i am a button
|
|
</button>
|
|
</DocumentFragment>
|
|
`;
|
|
|
|
exports[`<AccessibleButton /> renders div with role button by default 1`] = `
|
|
<DocumentFragment>
|
|
<div
|
|
class="mx_AccessibleButton"
|
|
role="button"
|
|
tabindex="0"
|
|
>
|
|
i am a button
|
|
</div>
|
|
</DocumentFragment>
|
|
`;
|
|
|
|
exports[`<AccessibleButton /> renders with correct classes when button has kind 1`] = `
|
|
<DocumentFragment>
|
|
<div
|
|
class="mx_AccessibleButton mx_AccessibleButton_hasKind mx_AccessibleButton_kind_primary"
|
|
role="button"
|
|
tabindex="0"
|
|
>
|
|
i am a button
|
|
</div>
|
|
</DocumentFragment>
|
|
`;
|