mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-11-23 02:10:12 +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>
22 lines
501 B
JavaScript
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';
|