mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-23 09:52:26 +01:00
2c2505be06
* add banner-tip component * set fixed width * add banner tip props to logo * fix logo type naming * update test * reduce png sizes * upate type name and add image element test * updates * Update ui/components/component-library/banner-tip/banner-tip.js Co-authored-by: George Marshall <george.marshall@consensys.net> * update BannerTip * fix text case banner tip --------- Co-authored-by: George Marshall <george.marshall@consensys.net>
33 lines
1.0 KiB
Plaintext
33 lines
1.0 KiB
Plaintext
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
|
|
exports[`BannerTip should render BannerTip element correctly 1`] = `
|
|
<div>
|
|
<div
|
|
class="box mm-banner-base mm-banner-tip box--padding-3 box--display-flex box--gap-2 box--flex-direction-row box--background-color-background-default box--rounded-sm box--border-color-border-default box--border-style-solid box--border-width-1"
|
|
data-testid="bannerTip"
|
|
>
|
|
<div
|
|
class="box box--display-flex box--flex-direction-row box--align-items-center"
|
|
>
|
|
<img
|
|
alt="greeting"
|
|
class="box mm-banner-tip--logo box--flex-direction-row"
|
|
src="images/fox-greeting.png"
|
|
/>
|
|
</div>
|
|
<div>
|
|
<h5
|
|
class="box mm-text mm-banner-base__title mm-text--body-lg-medium mm-text--color-text-default box--flex-direction-row"
|
|
>
|
|
BannerTip test
|
|
</h5>
|
|
<p
|
|
class="box mm-text mm-text--body-md mm-text--color-text-default box--flex-direction-row"
|
|
>
|
|
should render BannerTip element correctly
|
|
</p>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
`;
|