import { Menu, MenuButton, MenuItem, MenuItems, MenuPopover, MenuLink, MenuPopoverProps, } from '@reach/menu-button'; import { positionDefault, positionRight } from '@reach/popover'; import React from 'react'; import './menu.css'; interface IMenuList extends Omit { position?: 'left' | 'right' } const MenuList = (props: IMenuList) => ( event.nativeEvent.stopImmediatePropagation()} className='py-1 bg-white dark:bg-slate-900 rounded-lg shadow-menu' {...props} /> ); const MenuDivider = () =>
; export { Menu, MenuButton, MenuDivider, MenuItems, MenuItem, MenuList, MenuLink };