2019-01-12 03:33:27 +00:00
|
|
|
import ref from 'vue-ref';
|
|
|
|
import Vue from 'vue';
|
|
|
|
import Tabs from './tabs';
|
|
|
|
import TabPane from '../vc-tabs/src/TabPane';
|
|
|
|
import TabContent from '../vc-tabs/src/TabContent';
|
|
|
|
Tabs.TabPane = { ...TabPane, name: 'ATabPane', __ANT_TAB_PANE: true };
|
|
|
|
Tabs.TabContent = { ...TabContent, name: 'ATabContent' };
|
|
|
|
Vue.use(ref, { name: 'ant-ref' });
|
2018-09-19 05:21:57 +00:00
|
|
|
|
|
|
|
/* istanbul ignore next */
|
2019-01-12 03:33:27 +00:00
|
|
|
Tabs.install = function(Vue) {
|
|
|
|
Vue.component(Tabs.name, Tabs);
|
|
|
|
Vue.component(Tabs.TabPane.name, Tabs.TabPane);
|
|
|
|
Vue.component(Tabs.TabContent.name, Tabs.TabContent);
|
|
|
|
};
|
2018-09-19 05:21:57 +00:00
|
|
|
|
2019-01-12 03:33:27 +00:00
|
|
|
export default Tabs;
|
|
|
|
export { TabPane, TabContent };
|