2022-11-09 22:55:13 +01:00
|
|
|
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
|
|
|
|
|
|
exports[`Button should render button element correctly 1`] = `
|
|
|
|
<div>
|
|
|
|
<button
|
2023-07-12 16:37:33 +02:00
|
|
|
class="box mm-text mm-button-base mm-button-base--size-md mm-button-primary mm-text--body-md-medium 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"
|
2022-11-09 22:55:13 +01:00
|
|
|
data-testid="button"
|
|
|
|
>
|
2023-03-22 03:19:49 +01:00
|
|
|
Button
|
2022-11-09 22:55:13 +01:00
|
|
|
</button>
|
|
|
|
</div>
|
|
|
|
`;
|
|
|
|
|
|
|
|
exports[`Button should render with different button types 1`] = `
|
|
|
|
<div>
|
|
|
|
<button
|
2023-07-12 16:37:33 +02:00
|
|
|
class="box mm-text mm-button-base mm-button-base--size-md mm-button-primary mm-text--body-md-medium 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"
|
2022-11-09 22:55:13 +01:00
|
|
|
data-testid="primary"
|
|
|
|
>
|
2023-03-22 03:19:49 +01:00
|
|
|
Button
|
2022-11-09 22:55:13 +01:00
|
|
|
</button>
|
|
|
|
<button
|
2023-07-12 16:37:33 +02:00
|
|
|
class="box mm-text mm-button-base mm-button-base--size-md mm-button-secondary mm-text--body-md-medium 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"
|
2022-11-09 22:55:13 +01:00
|
|
|
data-testid="secondary"
|
|
|
|
>
|
2023-03-22 03:19:49 +01:00
|
|
|
Button
|
2022-11-09 22:55:13 +01:00
|
|
|
</button>
|
|
|
|
<button
|
2023-07-12 16:37:33 +02:00
|
|
|
class="box mm-text mm-button-base mm-button-link mm-button-link--size-auto mm-text--body-md-medium box--display-inline-flex box--flex-direction-row box--justify-content-center box--align-items-center box--color-primary-default box--background-color-transparent"
|
2022-11-09 22:55:13 +01:00
|
|
|
data-testid="link"
|
|
|
|
>
|
2023-03-22 03:19:49 +01:00
|
|
|
Button
|
2022-11-09 22:55:13 +01:00
|
|
|
</button>
|
|
|
|
</div>
|
|
|
|
`;
|