mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-11-26 20:39:08 +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';
|