1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-12-02 14:15:06 +01:00
metamask-extension/ui/components/component-library/text/__snapshots__/text.test.js.snap
Garrett Bear 1007930078
Feat/16187/text housekeeping (#16589)
* text housekeeping

* update testing

* Text constant

* TEXT const to story

* format text sizes

* add associated constants to text component

* add all exports to global index.js

* update snapshot

* update text component variants

* Update ui/components/component-library/text/README.mdx

Co-authored-by: George Marshall <george.marshall@consensys.net>

* update rearrangements

* update text in tests

Co-authored-by: George Marshall <george.marshall@consensys.net>
2022-12-01 09:26:19 -08:00

57 lines
1.4 KiB
Plaintext

// Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`Text should render the Text with proper variant class name 1`] = `
<div>
<h1
class="box mm-text mm-text--display-md mm-text--color-text-default box--flex-direction-row"
>
display-md
</h1>
<h2
class="box mm-text mm-text--heading-lg mm-text--color-text-default box--flex-direction-row"
>
heading-lg
</h2>
<h2
class="box mm-text mm-text--heading-md mm-text--color-text-default box--flex-direction-row"
>
heading-md
</h2>
<h2
class="box mm-text mm-text--heading-sm mm-text--color-text-default box--flex-direction-row"
>
heading-sm
</h2>
<p
class="box mm-text mm-text--body-lg-medium mm-text--color-text-default box--flex-direction-row"
>
body-lg-medium
</p>
<p
class="box mm-text mm-text--body-md mm-text--color-text-default box--flex-direction-row"
>
body-md
</p>
<p
class="box mm-text mm-text--body-md-bold mm-text--color-text-default box--flex-direction-row"
>
body-md-bold
</p>
<p
class="box mm-text mm-text--body-sm mm-text--color-text-default box--flex-direction-row"
>
body-sm
</p>
<p
class="box mm-text mm-text--body-sm-bold mm-text--color-text-default box--flex-direction-row"
>
body-sm-bold
</p>
<p
class="box mm-text mm-text--body-xs mm-text--color-text-default box--flex-direction-row"
>
body-xs
</p>
</div>
`;