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/network-display/network-display.stories.js

40 lines
732 B

import React from 'react';
import NetworkDisplay from '.';
export default {
title: 'Components/App/NetworkDisplay',
id: __filename,
argTypes: {
colored: {
control: 'boolean',
},
indicatorSize: {
control: 'oneOf(Object.values(SIZES))',
},
labelProps: {
control: 'labelProps',
},
targetNetwork: {
control: 'object',
},
outline: {
control: 'boolean',
},
disabled: {
control: 'boolean',
},
iconClassName: {
control: 'text',
},
onClick: {
action: 'onClick',
},
},
args: {
iconClassName: 'caret',
},
};
export const DefaultStory = (args) => <NetworkDisplay {...args} />;
DefaultStory.storyName = 'Default';