ant-design-vue/components/tabs/index.js

19 lines
582 B
JavaScript
Raw Normal View History

2018-12-14 15:31:02 +00:00
import ref from 'vue-ref'
import Vue from 'vue'
2018-03-19 02:16:27 +00:00
import Tabs from './tabs'
2018-04-07 10:52:02 +00:00
import TabPane from '../vc-tabs/src/TabPane'
import TabContent from '../vc-tabs/src/TabContent'
2018-04-11 13:58:52 +00:00
Tabs.TabPane = { ...TabPane, name: 'ATabPane', __ANT_TAB_PANE: true }
2018-04-08 13:17:20 +00:00
Tabs.TabContent = { ...TabContent, name: 'ATabContent' }
2018-12-14 15:31:02 +00:00
Vue.use(ref, { name: 'ant-ref' })
/* istanbul ignore next */
Tabs.install = function (Vue) {
Vue.component(Tabs.name, Tabs)
Vue.component(Tabs.TabPane.name, Tabs.TabPane)
Vue.component(Tabs.TabContent.name, Tabs.TabContent)
}
2017-11-02 02:42:34 +00:00
export default Tabs
2017-11-30 11:11:42 +00:00
export { TabPane, TabContent }