1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-11-27 12:56:01 +01:00
metamask-extension/ui/components/app/network-display/network-display.stories.js
George Marshall 55abc00c34
Updating all caret icons for dark mode 🥕 (#13861)
* Updating all caret icons

* lint fixes

* Fixing settings search list
2022-03-08 13:50:35 -08:00

41 lines
732 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',
},
iconClassName: {
control: 'text',
},
onClick: {
action: 'onClick',
},
},
args: {
iconClassName: 'caret',
},
};
export const DefaultStory = (args) => <NetworkDisplay {...args} />;
DefaultStory.storyName = 'Default';