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

15 lines
399 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)
2021-11-07 10:48:02 +08:00
export * from './src/tabs'
export * from './src/tab-bar'
export * from './src/tab-nav'
export * from './src/tab-pane'