1 | function _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 |
|
3 | import Tabs from './tabs';
|
4 | import TabPane from '../vc-tabs/src/TabPane';
|
5 | import TabContent from '../vc-tabs/src/TabContent';
|
6 | Tabs.TabPane = _extends(_extends({}, TabPane), {
|
7 | name: 'ATabPane',
|
8 | __ANT_TAB_PANE: true
|
9 | });
|
10 | Tabs.TabContent = _extends(_extends({}, TabContent), {
|
11 | name: 'ATabContent'
|
12 | });
|
13 |
|
14 |
|
15 | Tabs.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 |
|
22 | export default Tabs;
|
23 | export { TabPane, TabContent }; |
\ | No newline at end of file |