mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-23 09:52:26 +01:00
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';
|