import './style';
import { withInstall, withNoopInstall } from '../_util/withInstall';
import Menu from './menu';
import MenuItem from './menuItem';
export { menuItemProps } from './menuItem';
import MenuGroup from './menuGroup';
export { menuGroupProps } from './menuGroup';
import SubMenu from './subMenu';
export { subMenuProps } from './subMenu';
export { menuProps } from './const';

const FMenu = withInstall(Menu, {
  MenuItem,
  MenuGroup,
  SubMenu
});
const FMenuItem = withNoopInstall(MenuItem);
const FMenuGroup = withNoopInstall(MenuGroup);
const FSubMenu = withNoopInstall(SubMenu);

export { FMenu, FMenuGroup, FMenuItem, FSubMenu, FMenu as default };
