element-plus/packages/components/tabs/index.ts
blackie cd0f5ace61
refactor(components): [tabs] switch to script-setup syntax (#6468)
Co-authored-by: 三咲智子 <sxzz@sxzz.moe>
2022-03-30 02:58:57 +08:00

15 lines
386 B
TypeScript

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