element-plus/packages/tabs/index.ts

15 lines
407 B
TypeScript
Raw Normal View History

2020-08-14 09:49:31 +08:00
import { App } from 'vue'
import Tabs from './src/tabs.vue'
import TabBar from './src/tab-bar.vue'
import TabNav from './src/tab-nav.vue'
import TabPane from './src/tab-pane.vue'
2020-10-29 17:28:26 +08:00
2020-08-14 09:49:31 +08:00
export default (app: App): void => {
app.component(Tabs.name, Tabs)
app.component(TabBar.name, TabBar)
app.component(TabNav.name, TabNav)
app.component(TabPane.name, TabPane)
}
2020-10-29 17:28:26 +08:00
export { Tabs, TabBar, TabNav, TabPane }