import clsx from "clsx"; import type { ComponentProps, ReactNode, ComponentType, SVGAttributes, } from "react"; import { Popover, Menu as BaseMenu, MenuItem as BaseMenuItem, Section as BaseSection, Separator as BaseSeparator, } from "react-aria-components"; type MenuProps = ComponentProps> & { placement?: ComponentProps["placement"]; }; export const Menu = ({ className, placement, ...props }: MenuProps) => ( ); type MenuItemProps = Omit, "children"> & { icon?: ComponentType>; children: ReactNode; }; export const MenuItem = ({ children, icon: Icon, className, textValue, ...props }: MenuItemProps) => ( {Icon && } {children} ); export const Section = ({ className, ...props }: ComponentProps) => ( ); export const Separator = ({ className, ...props }: ComponentProps) => ( );