element-plus/packages/components/tabs/index.ts

10 lines
280 B
TypeScript
Raw Normal View History

import { withInstall, withNoopInstall } from '@element-plus/utils/with-install'
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)