mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-23 09:52:26 +01:00
4df363b251
* Created custody-confirm-link component * Removed selector * Finished component * Changed button to use design system * Fixed eslint issue * updated snapshot * fixed eslint problems * Added more tests and added color design systems * Fixed comments * Removed unnecessary code * Removed unneeded code and fixed eslint issues
41 lines
1.7 KiB
Plaintext
41 lines
1.7 KiB
Plaintext
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
|
|
exports[`Custody Confirm Link should match snapshot 1`] = `
|
|
<div>
|
|
<div
|
|
class="box box--display-flex box--flex-direction-column"
|
|
>
|
|
<div
|
|
class="box box--padding-top-5 box--display-flex box--flex-direction-row box--justify-content-center box--align-items-center"
|
|
>
|
|
<img
|
|
alt="MMI logo"
|
|
class="custody-confirm-link__img"
|
|
src="/images/logo/mmi-logo.svg"
|
|
/>
|
|
>
|
|
<img
|
|
alt="saturn-dev"
|
|
class="custody-confirm-link__img"
|
|
src="https://saturn-custody-ui.dev.metamask-institutional.io/saturn.svg"
|
|
/>
|
|
</div>
|
|
<h4
|
|
class="box mm-text mm-text--heading-lg mm-text--text-align-center box--padding-top-4 box--flex-direction-row box--color-text-default"
|
|
>
|
|
Awaiting approval...
|
|
</h4>
|
|
<p
|
|
class="box mm-text custody-confirm-link__description mm-text--body-sm mm-text--text-align-center box--padding-top-4 box--padding-right-5 box--padding-bottom-10 box--padding-left-5 box--flex-direction-row box--color-text-default"
|
|
>
|
|
Approve the transaction in the Saturn Custody app. Once all required custody approvals have been performed the transaction will complete. Check your Saturn Custody app for status.
|
|
</p>
|
|
<button
|
|
class="box mm-text mm-button-base mm-button-base--size-md custody-confirm-link__btn mm-button-primary mm-text--body-md 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"
|
|
>
|
|
Close
|
|
</button>
|
|
</div>
|
|
</div>
|
|
`;
|