mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-11-27 04:46:10 +01:00
9ce966ba1d
* Removing argTypes that are related to static props and don't have anything to do with the component. Also some general house keeping * updates
26 lines
471 B
JavaScript
26 lines
471 B
JavaScript
import React from 'react';
|
|
import AppHeader from '.';
|
|
|
|
export default {
|
|
title: 'Components/App/AppHeader',
|
|
id: __filename,
|
|
argTypes: {
|
|
hideNetworkIndicator: {
|
|
control: 'boolean',
|
|
},
|
|
disabled: {
|
|
control: 'boolean',
|
|
},
|
|
disableNetworkIndicator: {
|
|
control: 'boolean',
|
|
},
|
|
onClick: {
|
|
action: 'onClick',
|
|
},
|
|
},
|
|
};
|
|
|
|
export const DefaultStory = (args) => <AppHeader {...args} />;
|
|
|
|
DefaultStory.storyName = 'Default';
|