mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-23 09:52:26 +01:00
fd53de6af5
* update button alert component * update test * rename Banner to BannerAlert * remove old banner snapshot * fix banner alert border left
28 lines
948 B
Plaintext
28 lines
948 B
Plaintext
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
|
|
exports[`BannerAlert should render BannerAlert element correctly 1`] = `
|
|
<div>
|
|
<div
|
|
class="box mm-banner-base mm-banner-alert mm-banner-alert--severity-info box--padding-3 box--padding-left-2 box--display-flex box--gap-2 box--flex-direction-row box--background-color-primary-muted box--rounded-sm"
|
|
data-testid="bannerAlert"
|
|
>
|
|
<div
|
|
class="box mm-icon mm-icon--size-lg box--flex-direction-row box--color-primary-default"
|
|
style="mask-image: url('./images/icons/info.svg');"
|
|
/>
|
|
<div>
|
|
<h5
|
|
class="box mm-text mm-banner-base__title mm-text--body-lg-medium mm-text--color-text-default box--flex-direction-row"
|
|
>
|
|
BannerAlert test
|
|
</h5>
|
|
<p
|
|
class="box mm-text mm-text--body-md mm-text--color-text-default box--flex-direction-row"
|
|
>
|
|
should render BannerAlert element correctly
|
|
</p>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
`;
|