mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-11-29 23:58:06 +01:00
8fdbd07c91
* updates styles for confirm-add-institutional-feature * initial component * adds tests and storybook file * clean up styles and adds MM design system * prettier * locale update * lint * snapshot update --------- Co-authored-by: legobeat <109787230+legobeat@users.noreply.github.com>
70 lines
2.1 KiB
Plaintext
70 lines
2.1 KiB
Plaintext
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
||
|
||
exports[`Confirm Add Institutional Feature opens confirm institutional sucessfully 1`] = `
|
||
<div>
|
||
<div
|
||
class="box page-container box--flex-direction-row"
|
||
data-testid="confirm-add-institutional-feature"
|
||
>
|
||
<div
|
||
class="box page-container__header box--flex-direction-row"
|
||
>
|
||
<p
|
||
class="box mm-text page-container__title mm-text--body-md box--flex-direction-row box--color-text-default"
|
||
>
|
||
Institutional Features
|
||
</p>
|
||
<p
|
||
class="box mm-text page-container__subtitle mm-text--body-md box--flex-direction-row box--color-text-default"
|
||
>
|
||
The page at origin would like to authorise the following project’s compliance settings in MetaMask Institutional
|
||
</p>
|
||
</div>
|
||
<div
|
||
class="box page-container__content box--flex-direction-row"
|
||
>
|
||
<p
|
||
class="box mm-text mm-text--body-sm box--margin-top-3 box--margin-right-8 box--margin-left-8 box--flex-direction-row box--color-text-default"
|
||
>
|
||
Project Name
|
||
</p>
|
||
<p
|
||
class="box mm-text mm-text--body-lg-medium mm-text--overflow-wrap-break-word box--margin-top-1 box--margin-right-8 box--margin-bottom-1 box--margin-left-8 box--flex-direction-row box--color-text-default"
|
||
>
|
||
projectName
|
||
</p>
|
||
<p
|
||
class="box mm-text mm-text--body-xs mm-text--overflow-wrap-break-word box--margin-right-8 box--margin-left-8 box--flex-direction-row box--color-text-muted"
|
||
>
|
||
Id
|
||
:
|
||
projectId
|
||
</p>
|
||
</div>
|
||
|
||
<footer
|
||
class="box page-container__footer box--padding-4 box--flex-direction-row"
|
||
>
|
||
<div
|
||
class="box box--display-flex box--gap-4 box--flex-direction-row"
|
||
>
|
||
<button
|
||
class="button btn--rounded btn-secondary"
|
||
role="button"
|
||
tabindex="0"
|
||
>
|
||
Cancel
|
||
</button>
|
||
<button
|
||
class="button btn--rounded btn-primary"
|
||
role="button"
|
||
tabindex="0"
|
||
>
|
||
Confirm
|
||
</button>
|
||
</div>
|
||
</footer>
|
||
</div>
|
||
</div>
|
||
`;
|