17 lines
480 B
TypeScript
17 lines
480 B
TypeScript
import { VueConstructor } from 'vue'
|
|
import { VxeUI } from '@vxe-ui/core'
|
|
import VxeTabPaneComponent from '../tabs/src/tab-pane'
|
|
import { dynamicApp } from '../dynamics'
|
|
|
|
export const VxeTabPane = Object.assign({}, VxeTabPaneComponent, {
|
|
install (app: VueConstructor) {
|
|
app.component(VxeTabPaneComponent.name as string, VxeTabPaneComponent)
|
|
}
|
|
})
|
|
|
|
dynamicApp.use(VxeTabPane)
|
|
VxeUI.component(VxeTabPaneComponent)
|
|
|
|
export const TabPane = VxeTabPane
|
|
export default VxeTabPane
|