1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-12-02 14:15:06 +01:00
metamask-extension/ui/components/app/app-header/app-header.stories.js
George Marshall 8edeb9a281
Fix/14230 dark mode fixes (#14305)
* Dark mode fixes

* removing unused icon svg
2022-03-31 13:11:06 -07:00

50 lines
949 B
JavaScript

import React from 'react';
import AppHeader from '.';
export default {
title: 'Components/App/AppHeader',
id: __filename,
argTypes: {
history: {
control: 'object',
},
networkDropdownOpen: {
control: 'boolean',
},
showNetworkDropdown: {
action: 'showNetworkDropdown',
},
hideNetworkDropdown: {
action: 'hideNetworkDropdown',
},
toggleAccountMenu: {
action: 'toggleAccountMenu',
},
selectedAddress: {
control: 'text',
},
isUnlocked: {
control: 'boolean',
},
hideNetworkIndicator: {
control: 'boolean',
},
disabled: {
control: 'boolean',
},
disableNetworkIndicator: {
control: 'boolean',
},
isAccountMenuOpen: {
control: 'boolean',
},
onClick: {
action: 'onClick',
},
},
};
export const DefaultStory = (args) => <AppHeader {...args} />;
DefaultStory.storyName = 'Default';