1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-11-25 11:28:51 +01:00
metamask-extension/ui/components/multichain/global-menu/global-menu.stories.js

23 lines
463 B
JavaScript
Raw Normal View History

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';