1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-10-22 19:26:13 +02:00
metamask-extension/ui/pages/confirm-send-ether/confirm-send-ether.stories.js
Nidhi Kumari 132c1818df
added storybook controls for confirm send ether component (#15235)
* added storybook controls for confirm send ether component

* fixed lint errors

* corrected the argTypes for send-ether-storybook component
2022-07-22 10:58:37 -07:00

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';