element-plus/packages/menu-item-group/index.ts

13 lines
356 B
TypeScript

import { App } from 'vue'
import type { SFCWithInstall } from '@element-plus/utils/types'
import MenuItemGroup from '../menu/src/menuItemGroup.vue'
MenuItemGroup.install = (app: App): void => {
app.component(MenuItemGroup.name, MenuItemGroup)
}
const _MenuItemGroup: SFCWithInstall<typeof MenuItemGroup> = MenuItemGroup
export default _MenuItemGroup