UNPKG

891 BJavaScriptView Raw
1function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
2
3import Tabs from './tabs';
4import TabPane from '../vc-tabs/src/TabPane';
5import TabContent from '../vc-tabs/src/TabContent';
6Tabs.TabPane = _extends(_extends({}, TabPane), {
7 name: 'ATabPane',
8 __ANT_TAB_PANE: true
9});
10Tabs.TabContent = _extends(_extends({}, TabContent), {
11 name: 'ATabContent'
12});
13/* istanbul ignore next */
14
15Tabs.install = function (app) {
16 app.component(Tabs.name, Tabs);
17 app.component(Tabs.TabPane.name, Tabs.TabPane);
18 app.component(Tabs.TabContent.name, Tabs.TabContent);
19 return app;
20};
21
22export default Tabs;
23export { TabPane, TabContent };
\No newline at end of file