File tree 2 files changed +6
-0
lines changed
2 files changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -18,6 +18,7 @@ const TabBar = {
18
18
renderTabBar : PropTypes . func ,
19
19
panels : PropTypes . array . def ( [ ] ) ,
20
20
activeKey : PropTypes . oneOfType ( [ PropTypes . string , PropTypes . number ] ) ,
21
+ tabBarGutter : PropTypes . number ,
21
22
} ,
22
23
render ( ) {
23
24
const {
Original file line number Diff line number Diff line change @@ -43,9 +43,11 @@ export default {
43
43
defaultActiveKey : PropTypes . oneOfType ( [ PropTypes . string , PropTypes . number ] ) ,
44
44
__propsSymbol__ : PropTypes . any ,
45
45
direction : PropTypes . string . def ( 'ltr' ) ,
46
+ tabBarGutter : PropTypes . number ,
46
47
} ,
47
48
data ( ) {
48
49
const props = getOptionProps ( this ) ;
50
+ console . log ( props ) ;
49
51
let activeKey ;
50
52
if ( 'activeKey' in props ) {
51
53
activeKey = props . activeKey ;
@@ -193,7 +195,9 @@ export default {
193
195
renderTabBar,
194
196
destroyInactiveTabPane,
195
197
direction,
198
+ tabBarGutter,
196
199
} = props ;
200
+ console . log ( props ) ;
197
201
const cls = {
198
202
[ prefixCls ] : 1 ,
199
203
[ `${ prefixCls } -${ tabBarPosition } ` ] : 1 ,
@@ -209,6 +213,7 @@ export default {
209
213
panels : props . children ,
210
214
activeKey : this . $data . _activeKey ,
211
215
direction,
216
+ tabBarGutter,
212
217
} ,
213
218
on : {
214
219
keydown : this . onNavKeyDown ,
You can’t perform that action at this time.
0 commit comments