1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-12-23 09:52:26 +01:00
metamask-extension/ui/components/institutional/note-to-trader/__snapshots__/note-to-trader.test.js.snap
Albert Olivé a017a1bae0
[MMI] Added note to trader code fencing (#18051)
* Added note to trader code fencing

* Started adding code fences in signature-request

* Finished code fencing

* Improving code

* adds check and runs prettier

* Fixed storybook and code fences bundle

* Added missing dependency

* updates fences

* fewer lines

* undo previously merged PR

* ran lavamoat auto

* adds test

* prettier

---------

Co-authored-by: António Regadas <apregadas@gmail.com>
Co-authored-by: Antonio Regadas <antonio.regadas@consensys.net>
Co-authored-by: Brad Decker <bhdecker84@gmail.com>
2023-05-16 16:44:08 +01:00

44 lines
1.2 KiB
Plaintext

// Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`NoteToTrader should render the Note to trader component 1`] = `
<div>
<div
class="box confirm-page-container-content__data box--flex-direction-row"
>
<div
class="box box--display-flex box--flex-direction-row"
>
<div
class="box note-header box--display-flex box--flex-direction-row box--justify-content-space-between"
>
<label
class="box mm-text mm-label mm-label--html-for mm-text--body-md mm-text--font-weight-bold box--display-inline-flex box--flex-direction-row box--align-items-center box--color-text-default"
for="transaction-note"
>
Transaction note
</label>
<p
class="box mm-text note-header__counter mm-text--body-md box--flex-direction-row box--color-text-default"
>
9
/
280
</p>
</div>
<div
class="box note-field box--display-flex box--flex-direction-column"
>
<textarea
data-testid="transaction-note"
id="transaction-note"
maxlength="280"
placeholder=""
>
some text
</textarea>
</div>
</div>
</div>
</div>
`;