1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-12-23 09:52:26 +01:00
metamask-extension/ui/pages/confirm-deploy-contract/confirm-deploy-contract.stories.js
Nidhi Kumari c85af877bd
added storybook controls for confirm deploy contract component (#15236)
* added storybook controls for confirm deploy contract component

* fixed args in confirm-deploy-contract-storybook

Co-authored-by: David Walsh <davidwalsh83@gmail.com>
2022-07-21 14:34:13 -07:00

23 lines
436 B
JavaScript

/* eslint-disable react/prop-types */
import React from 'react';
import ConfirmDeployContract from '.';
export default {
title: 'Pages/ConfirmDeployContract',
id: __filename,
component: ConfirmDeployContract,
argTypes: {
txData: {
control: {
type: 'object',
},
},
},
};
export const DefaultStory = (args) => {
return <ConfirmDeployContract {...args} />;
};
DefaultStory.storyName = 'Default';