mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-11-30 08:09:15 +01:00
35 lines
638 B
JavaScript
35 lines
638 B
JavaScript
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';
|