File tree Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -2,12 +2,12 @@ import type { App, Plugin } from 'vue';
22import Tabs , { TabPane } from './src' ;
33export type { TabsProps , TabPaneProps } from './src' ;
44
5- Tabs . TabPane = { ... TabPane , name : 'ATabPane' , __ANT_TAB_PANE : true } ;
5+ Tabs . TabPane = TabPane ;
66
77/* istanbul ignore next */
88Tabs . install = function ( app : App ) {
99 app . component ( Tabs . name , Tabs ) ;
10- app . component ( Tabs . TabPane . name , Tabs . TabPane ) ;
10+ app . component ( TabPane . name , TabPane ) ;
1111 return app ;
1212} ;
1313
Original file line number Diff line number Diff line change @@ -20,8 +20,9 @@ export interface TabPaneProps {
2020}
2121
2222export default defineComponent ( {
23- name : 'TabPane ' ,
23+ name : 'ATabPane ' ,
2424 inheritAttrs : false ,
25+ __ANT_TAB_PANE : true ,
2526 props : {
2627 tab : PropTypes . any ,
2728 disabled : { type : Boolean } ,
You can’t perform that action at this time.
0 commit comments