mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-11-29 15:50:28 +01:00
23 lines
463 B
JavaScript
23 lines
463 B
JavaScript
|
import React from 'react';
|
||
|
import { GlobalMenu } from '.';
|
||
|
|
||
|
export default {
|
||
|
title: 'Components/Multichain/GlobalMenu',
|
||
|
component: GlobalMenu,
|
||
|
argTypes: {
|
||
|
closeMenu: {
|
||
|
action: 'closeMenu',
|
||
|
},
|
||
|
anchorElement: {
|
||
|
control: 'func',
|
||
|
},
|
||
|
},
|
||
|
args: {
|
||
|
closeMenu: () => console.log('Closing menu!'),
|
||
|
anchorElement: null,
|
||
|
},
|
||
|
};
|
||
|
|
||
|
export const DefaultStory = (args) => <GlobalMenu {...args} />;
|
||
|
DefaultStory.storyName = 'Default';
|