mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-05 23:44:56 +01:00
23 lines
473 B
JavaScript
23 lines
473 B
JavaScript
import React from 'react';
|
|
import ConfirmationNetworkSwitch from '.';
|
|
|
|
export default {
|
|
title: 'Pages/Confirmation/Components/ConfirmationNetworkSwitch',
|
|
id: __filename,
|
|
argTypes: {
|
|
newNetwork: {
|
|
controls: 'object',
|
|
},
|
|
},
|
|
args: {
|
|
newNetwork: {
|
|
chainId: 'chainId',
|
|
name: 'Binance Smart Chain Mainnet',
|
|
},
|
|
},
|
|
};
|
|
|
|
export const DefaultStory = (args) => <ConfirmationNetworkSwitch {...args} />;
|
|
|
|
DefaultStory.storyName = 'Default';
|