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

17 lines
511 B
JavaScript
Raw Normal View History

2019-01-12 03:33:27 +00:00
import Tabs from './tabs';
import TabPane from '../vc-tabs/src/TabPane';
import TabContent from '../vc-tabs/src/TabContent';
2019-01-12 03:33:27 +00:00
Tabs.TabPane = { ...TabPane, name: 'ATabPane', __ANT_TAB_PANE: true };
Tabs.TabContent = { ...TabContent, name: 'ATabContent' };
/* istanbul ignore next */
2020-06-23 14:34:08 +00:00
Tabs.install = function(app) {
app.component(Tabs.name, Tabs);
app.component(Tabs.TabPane.name, Tabs.TabPane);
app.component(Tabs.TabContent.name, Tabs.TabContent);
2019-01-12 03:33:27 +00:00
};
2019-01-12 03:33:27 +00:00
export default Tabs;
export { TabPane, TabContent };