mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-11-27 04:46:10 +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';
|