import { default as MenuMain } from './Menu' ; import MenuGroup from './MenuGroup' ; import MenuItem from './MenuItem' ; import MenuItemOption from './MenuItemOption' ; import MenuOptionGroup from './MenuOptionGroup' ; import type { IMenuComponent } from './types' ; let MenuTemp = MenuMain ; MenuTemp . Item = MenuItem ; MenuTemp . Group = MenuGroup ; MenuTemp . ItemOption = MenuItemOption ; MenuTemp . OptionGroup = MenuOptionGroup ; const Menu = MenuTemp as IMenuComponent ; export { Menu } ; export type { IMenuProps , IMenuItemProps , IMenuItemOptionProps , IMenuGroupProps , IMenuOptionGroupProps , } from './types' ;