mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-05 15:35:46 +01:00
132c1818df
* added storybook controls for confirm send ether component * fixed lint errors * corrected the argTypes for send-ether-storybook component
26 lines
465 B
JavaScript
26 lines
465 B
JavaScript
import React from 'react';
|
|
import ConfirmSendEther from '.';
|
|
|
|
export default {
|
|
title: 'Pages/ConfirmSendEther',
|
|
id: __filename,
|
|
component: ConfirmSendEther,
|
|
argTypes: {
|
|
editTransaction: {
|
|
action: 'editTransaction',
|
|
},
|
|
history: {
|
|
control: 'object',
|
|
},
|
|
txParams: {
|
|
control: 'object',
|
|
},
|
|
},
|
|
};
|
|
|
|
export const DefaultStory = (args) => {
|
|
return <ConfirmSendEther {...args} />;
|
|
};
|
|
|
|
DefaultStory.storyName = 'Default';
|