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

34 lines
638 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',
},
onClick: {
action: 'onClick',
},
},
};
export const DefaultStory = (args) => <NetworkDisplay {...args} />;
DefaultStory.storyName = 'Default';