mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-01 21:57:06 +01:00
79b2deb194
snapshot updates fix snapshots add background colors fix snapshots
36 lines
1.7 KiB
Plaintext
36 lines
1.7 KiB
Plaintext
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
|
|
exports[`Button should render button element correctly 1`] = `
|
|
<div>
|
|
<button
|
|
class="box mm-text mm-button-base mm-button-base--size-md mm-button-primary mm-text--body-md box--padding-right-4 box--padding-left-4 box--display-inline-flex box--flex-direction-row box--justify-content-center box--align-items-center box--color-primary-inverse box--background-color-primary-default box--rounded-pill"
|
|
data-testid="button"
|
|
>
|
|
Button
|
|
</button>
|
|
</div>
|
|
`;
|
|
|
|
exports[`Button should render with different button types 1`] = `
|
|
<div>
|
|
<button
|
|
class="box mm-text mm-button-base mm-button-base--size-md mm-button-primary mm-text--body-md box--padding-right-4 box--padding-left-4 box--display-inline-flex box--flex-direction-row box--justify-content-center box--align-items-center box--color-primary-inverse box--background-color-primary-default box--rounded-pill"
|
|
data-testid="primary"
|
|
>
|
|
Button
|
|
</button>
|
|
<button
|
|
class="box mm-text mm-button-base mm-button-base--size-md mm-button-secondary mm-text--body-md box--padding-right-4 box--padding-left-4 box--display-inline-flex box--flex-direction-row box--justify-content-center box--align-items-center box--color-primary-default box--background-color-transparent box--rounded-pill box--border-color-primary-default box--border-style-solid box--border-width-1"
|
|
data-testid="secondary"
|
|
>
|
|
Button
|
|
</button>
|
|
<button
|
|
class="box mm-text mm-button-base mm-button-link mm-button-link--size-auto mm-text--body-md box--display-inline-flex box--flex-direction-row box--justify-content-center box--align-items-center box--color-primary-default box--background-color-transparent"
|
|
data-testid="link"
|
|
>
|
|
Button
|
|
</button>
|
|
</div>
|
|
`;
|