1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-12-11 20:27:12 +01:00
metamask-extension/ui/pages/confirmation/components/confirmation-network-switch/confirmation-network-switch.stories.js

23 lines
579 B
JavaScript
Raw Normal View History

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';