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.
23 lines
579 B
23 lines
579 B
3 years ago
|
import React from 'react';
|
||
|
import ConfirmationNetworkSwitch from '.';
|
||
|
|
||
|
export default {
|
||
|
title: 'Components/Pages/Confirmation/Components/ConfirmationNetworkSwitch', // ui/pages/confirmation/components/confirmation-network-switch/confirmation-network-switch.js
|
||
|
id: __filename,
|
||
|
argTypes: {
|
||
|
newNetwork: {
|
||
|
controls: 'object',
|
||
|
},
|
||
|
},
|
||
|
args: {
|
||
|
newNetwork: {
|
||
|
chainId: 'chainId',
|
||
|
name: 'Binance Smart Chain Mainnet',
|
||
|
},
|
||
|
},
|
||
|
};
|
||
|
|
||
|
export const DefaultStory = (args) => <ConfirmationNetworkSwitch {...args} />;
|
||
|
|
||
|
DefaultStory.storyName = 'Default';
|