mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-23 09:52:26 +01:00
* Updating component-librar import paths * Updating snapshots * Updates to AvatarBase story * Updates to avatar and checkbox * Updating last of the deprecated import paths * Updating component-library snapshots from button-base * Updating snapshots from rest of codebase to do with button-base * Removing unneeded CSS * Updating snapshots
27 lines
1.1 KiB
Plaintext
27 lines
1.1 KiB
Plaintext
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
|
|
exports[`ButtonBase should render anchor element correctly by href and externalLink, href target and rel exist 1`] = `
|
|
<div>
|
|
<a
|
|
class="mm-box mm-text mm-button-base mm-button-base--size-md mm-text--body-md-medium mm-box--padding-right-4 mm-box--padding-left-4 mm-box--display-inline-flex mm-box--justify-content-center mm-box--align-items-center mm-box--color-text-default mm-box--background-color-background-alternative mm-box--rounded-pill"
|
|
data-testid="button-base"
|
|
href="https://www.test.com/"
|
|
rel="noopener noreferrer"
|
|
target="_blank"
|
|
>
|
|
Button Base
|
|
</a>
|
|
</div>
|
|
`;
|
|
|
|
exports[`ButtonBase should render button element correctly and match snapshot 1`] = `
|
|
<div>
|
|
<button
|
|
class="mm-box mm-text mm-button-base mm-button-base--size-md mm-text--body-md-medium mm-box--padding-right-4 mm-box--padding-left-4 mm-box--display-inline-flex mm-box--justify-content-center mm-box--align-items-center mm-box--color-text-default mm-box--background-color-background-alternative mm-box--rounded-pill"
|
|
data-testid="button-base"
|
|
>
|
|
Button base
|
|
</button>
|
|
</div>
|
|
`;
|