22 lines
717 B
JavaScript
22 lines
717 B
JavaScript
![]() |
import _extends from 'babel-runtime/helpers/extends';
|
||
|
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';
|
||
|
import Base from '../base';
|
||
|
|
||
|
Tabs.TabPane = _extends({}, TabPane, { name: 'ATabPane', __ANT_TAB_PANE: true });
|
||
|
Tabs.TabContent = _extends({}, TabContent, { name: 'ATabContent' });
|
||
|
Vue.use(ref, { name: 'ant-ref' });
|
||
|
|
||
|
/* istanbul ignore next */
|
||
|
Tabs.install = function (Vue) {
|
||
|
Vue.use(Base);
|
||
|
Vue.component(Tabs.name, Tabs);
|
||
|
Vue.component(Tabs.TabPane.name, Tabs.TabPane);
|
||
|
Vue.component(Tabs.TabContent.name, Tabs.TabContent);
|
||
|
};
|
||
|
|
||
|
export default Tabs;
|
||
|
export { TabPane, TabContent };
|