File tree 2 files changed +4
-0
lines changed 2 files changed +4
-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,6 +43,7 @@ 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 ) ;
@@ -193,6 +194,7 @@ export default {
193
194
renderTabBar,
194
195
destroyInactiveTabPane,
195
196
direction,
197
+ tabBarGutter,
196
198
} = props ;
197
199
const cls = {
198
200
[ prefixCls ] : 1 ,
@@ -209,6 +211,7 @@ export default {
209
211
panels : props . children ,
210
212
activeKey : this . $data . _activeKey ,
211
213
direction,
214
+ tabBarGutter,
212
215
} ,
213
216
on : {
214
217
keydown : this . onNavKeyDown ,
You can’t perform that action at this time.
0 commit comments