A Metamask fork with Infura removed and default networks editable
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
ciphermask/ui/components/app/modals/contract-details-modal/contract-details-modal.stor...

63 lines
1.2 KiB

import React from 'react';
import ContractDetailsModal from './contract-details-modal';
export default {
title: 'Components/App/Modals/ContractDetailsModal',
id: __filename,
argTypes: {
onClose: {
action: 'onClose',
},
tokenName: {
control: {
type: 'text',
},
},
tokenAddress: {
control: {
type: 'text',
},
},
toAddress: {
control: {
type: 'text',
},
},
chainId: {
control: {
type: 'text',
},
},
rpcPrefs: {
control: {
type: 'object',
},
},
origin: {
control: {
type: 'text',
},
},
siteImage: {
control: {
type: 'text',
},
},
},
args: {
tokenName: 'DAI',
tokenAddress: '0x6B175474E89094C44Da98b954EedeAC495271d0F',
toAddress: '0x9bc5baf874d2da8d216ae9f137804184ee5afef4',
chainId: '0x3',
rpcPrefs: {},
origin: 'https://metamask.github.io',
siteImage: 'https://metamask.github.io/test-dapp/metamask-fox.svg',
},
};
export const DefaultStory = (args) => {
return <ContractDetailsModal {...args} />;
};
DefaultStory.storyName = 'Default';