File tree Expand file tree Collapse file tree 2 files changed +4
-0
lines changed Expand file tree Collapse file tree 2 files changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -18,6 +18,7 @@ const TabBar = {
1818 renderTabBar : PropTypes . func ,
1919 panels : PropTypes . array . def ( [ ] ) ,
2020 activeKey : PropTypes . oneOfType ( [ PropTypes . string , PropTypes . number ] ) ,
21+ tabBarGutter : PropTypes . number ,
2122 } ,
2223 render ( ) {
2324 const {
Original file line number Diff line number Diff line change @@ -43,6 +43,7 @@ export default {
4343 defaultActiveKey : PropTypes . oneOfType ( [ PropTypes . string , PropTypes . number ] ) ,
4444 __propsSymbol__ : PropTypes . any ,
4545 direction : PropTypes . string . def ( 'ltr' ) ,
46+ tabBarGutter : PropTypes . number ,
4647 } ,
4748 data ( ) {
4849 const props = getOptionProps ( this ) ;
@@ -193,6 +194,7 @@ export default {
193194 renderTabBar,
194195 destroyInactiveTabPane,
195196 direction,
197+ tabBarGutter,
196198 } = props ;
197199 const cls = {
198200 [ prefixCls ] : 1 ,
@@ -209,6 +211,7 @@ export default {
209211 panels : props . children ,
210212 activeKey : this . $data . _activeKey ,
211213 direction,
214+ tabBarGutter,
212215 } ,
213216 on : {
214217 keydown : this . onNavKeyDown ,
You can’t perform that action at this time.
0 commit comments