mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-11-24 19:10:22 +01:00
76bfc399b6
* changed knobs * review updates
25 lines
538 B
JavaScript
25 lines
538 B
JavaScript
import React from 'react';
|
|
import SendHexDataRow from './send-hex-data-row.component';
|
|
|
|
export default {
|
|
title: 'Pages/Send/SendContent/SendHexDataRow',
|
|
id: __filename,
|
|
argTypes: {
|
|
inError: { control: 'boolean' },
|
|
updateSendHexData: { action: 'updateSendHexData' },
|
|
},
|
|
};
|
|
|
|
export const DefaultStory = (args) => {
|
|
return (
|
|
<div style={{ width: 450 }}>
|
|
<SendHexDataRow {...args} updateSendHexData={() => null} />
|
|
</div>
|
|
);
|
|
};
|
|
|
|
DefaultStory.storyName = 'Default';
|
|
DefaultStory.args = {
|
|
inError: false,
|
|
};
|