element-web/test/unit-tests/components/views/elements/__snapshots__/AccessibleButton-test.tsx.snap
Michael Telatynski b084ff2313
Prepare for repo merge
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2024-10-15 11:35:21 +01:00

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>
`;