element-plus/packages/components/tabs/index.ts
2022-02-09 16:59:08 +08:00

15 lines
389 B
TypeScript

import { withInstall, withNoopInstall } from '@element-plus/utils-v2'
import Tabs from './src/tabs'
import TabPane from './src/tab-pane.vue'
export const ElTabs = withInstall(Tabs, {
TabPane,
})
export default ElTabs
export const ElTabPane = withNoopInstall(TabPane)
export * from './src/tabs'
export * from './src/tab-bar'
export * from './src/tab-nav'
export * from './src/tab-pane'