1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-11-29 23:58:06 +01:00
metamask-extension/ui/components/institutional/note-to-trader/note-to-trader.stories.js
António Regadas 0a376fe3ab
MMI adds the note-to-trader component (#18106)
* 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>
2023-03-16 11:26:00 +00:00

22 lines
501 B
JavaScript

import React from 'react';
import NoteToTrader from '.';
export default {
title: 'Components/Institutional/NoteToTrader',
component: NoteToTrader,
args: {
placeholder:
'The approver will see this note when approving the transaction at the custodian.',
noteText: '',
labelText: 'Transaction note',
maxLength: '280',
onChange: () => {
/**/
},
},
};
export const DefaultStory = (args) => <NoteToTrader {...args} />;
DefaultStory.storyName = 'NoteToTrader';