mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-23 09:52:26 +01:00
0a376fe3ab
* MMI adds the note-to-trader component * MMI adds colors vars * MMI added component folder * MMI adds fireEvent * adds Box * review fixes * adds story * lint fix * prettier fix * prettier fix --------- Co-authored-by: Albert Olivé <albertolivecorbella@gmail.com>
36 lines
954 B
Plaintext
36 lines
954 B
Plaintext
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
|
|
exports[`NoteToTrader should render the Note to trader component 1`] = `
|
|
<div>
|
|
<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 mm-text--color-text-default box--display-inline-flex box--flex-direction-row box--align-items-center"
|
|
for="transaction-note"
|
|
>
|
|
Transaction note
|
|
</label>
|
|
<p
|
|
class="box mm-text note-header__counter mm-text--body-md mm-text--color-text-default box--flex-direction-row"
|
|
>
|
|
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>
|
|
`;
|