1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-12-01 13:47:06 +01:00
metamask-extension/ui/components/multichain/global-menu/global-menu.stories.js
2023-03-28 14:59:18 -05:00

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