///
import type { StoryFn } from '@storybook/react';
import { Box } from '../Box';
import { Icon } from '../Icon';
import type { MenuProps } from './Menu';
import { Menu } from './Menu';
export default {
component: Menu,
title: 'UI/Menu',
argTypes: {
autoFocus: {
defaultValue: true,
control: 'boolean',
},
autoFocusKey: {
defaultValue: undefined,
control: 'text',
},
},
};
const Template: StoryFn = (args: MenuProps) => (
);
export const Usage = Template.bind({});
Usage.args = {};
export const AutoFocusItem = Template.bind({});
AutoFocusItem.args = {
autoFocusKey: 'profile',
};