mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-01 21:57:06 +01:00
36be38e979
* Updating import paths for Text component * Updating snapshots * Adding story for TokenCell * Updating banner in account details * Fixing lint issue by removing unused import
79 lines
3.1 KiB
Plaintext
79 lines
3.1 KiB
Plaintext
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
|
|
exports[`Token Cell should match snapshot 1`] = `
|
|
<div>
|
|
<div
|
|
class="mm-box multichain-token-list-item mm-box--display-flex mm-box--gap-4 mm-box--flex-direction-column"
|
|
data-testid="multichain-token-list-item"
|
|
>
|
|
<a
|
|
class="mm-box multichain-token-list-item__container-cell mm-box--padding-4 mm-box--display-flex mm-box--flex-direction-row"
|
|
data-testid="multichain-token-list-button"
|
|
href="#"
|
|
>
|
|
<div
|
|
class="mm-box mm-badge-wrapper mm-box--margin-right-3 mm-box--display-inline-block"
|
|
>
|
|
<div
|
|
class="mm-box mm-text mm-avatar-base mm-avatar-base--size-md mm-avatar-token mm-avatar-token--with-halo mm-text--body-sm mm-text--text-transform-uppercase mm-box--display-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-full mm-box--border-color-border-default box--border-style-solid box--border-width-1"
|
|
>
|
|
T
|
|
</div>
|
|
<div
|
|
class="mm-box mm-badge-wrapper__badge-container mm-badge-wrapper__badge-container--circular-top-right"
|
|
>
|
|
<div
|
|
class="mm-box mm-text mm-avatar-base mm-avatar-base--size-xs mm-avatar-network mm-text--body-xs mm-text--text-transform-uppercase mm-box--display-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-full mm-box--border-color-border-muted box--border-style-solid box--border-width-1"
|
|
>
|
|
<img
|
|
alt="Ethereum Mainnet logo"
|
|
class="mm-avatar-network__network-image"
|
|
src="./images/eth_logo.png"
|
|
/>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div
|
|
class="mm-box multichain-token-list-item__container-cell--text-container mm-box--display-flex mm-box--flex-direction-column mm-box--width-full"
|
|
style="flex-grow: 1; overflow: hidden;"
|
|
>
|
|
<div
|
|
class="mm-box mm-box--display-flex mm-box--gap-1 mm-box--justify-content-space-between"
|
|
>
|
|
<div
|
|
class="mm-box mm-box--width-1/3"
|
|
>
|
|
<div>
|
|
<div
|
|
class=""
|
|
style="display: inline;"
|
|
tabindex="0"
|
|
title=""
|
|
>
|
|
<p
|
|
class="mm-box mm-text mm-text--body-md mm-text--font-weight-medium mm-text--ellipsis mm-box--color-text-default"
|
|
>
|
|
TEST
|
|
</p>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<p
|
|
class="mm-box mm-text mm-text--body-md mm-text--font-weight-medium mm-text--text-align-end mm-box--width-2/3 mm-box--color-text-default"
|
|
/>
|
|
</div>
|
|
<p
|
|
class="mm-box mm-text mm-text--body-md mm-box--color-text-alternative"
|
|
data-testid="multichain-token-list-item-value"
|
|
>
|
|
5.000
|
|
|
|
TEST
|
|
|
|
</p>
|
|
</div>
|
|
</a>
|
|
</div>
|
|
</div>
|
|
`;
|