mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-05 07:24:56 +01:00
c85af877bd
* added storybook controls for confirm deploy contract component * fixed args in confirm-deploy-contract-storybook Co-authored-by: David Walsh <davidwalsh83@gmail.com>
23 lines
436 B
JavaScript
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';
|