import React from "react"; import classNames from "classnames"; import { bem } from "../../utilities/bem"; import { MenuRenderer, MenuProps } from "../MenuRenderer"; import { PopoverMenu } from "../PopoverMenu"; import { MenuItem } from "./MenuItem"; const cn = "Menu"; export const Menu = ({ children, trigger, className, placement = "bottom-start", ...rest }: MenuProps) => { return ( {({ listProps }) => ( {children} )} ); }; Menu.Item = MenuItem;