mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-11-29 07:16:36 +01:00
8fef9fd8df
Co-authored-by: Amer Kadic <amerkadic@Amers-MacBook-Pro.local> Co-authored-by: George Marshall <george.marshall@consensys.net>
23 lines
579 B
JavaScript
23 lines
579 B
JavaScript
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';
|