@@ -15,7 +15,7 @@ ShowMoreButton.propTypes /* remove-proptypes */ = {
1515 children : PropTypes . element ,
1616} ;
1717function setTablistOverflow ( ctx , components ) {
18- components . MoreButtonPlugin = ShowMoreButton . bind ( undefined , { ctx, components } ) ;
18+ components . MoreButtonPlugin = ShowMoreButton . bind ( undefined , { ctx, components} ) ;
1919 if ( ! components . OriginalTablistOverflow ) {
2020 components . OriginalTablistOverflow = components . TablistOverflow ;
2121 components . TablistOverflow = function ( props ) {
@@ -31,18 +31,22 @@ function setTablistOverflow(ctx, components) {
3131function setTablistView ( ctx , components ) {
3232 components . TablistView = components . TablistViewFactory . bind ( undefined , ( ins ) => ( {
3333 tablistViewPropsManager : ( ) => {
34- let { className } = components . tablistViewPropsManager ( ins ) ;
34+ let { className} = components . tablistViewPropsManager ( ins ) ;
3535 className += ' rc-dyn-tabs-responsive' ;
36- return { className } ;
36+ return { className} ;
3737 } ,
3838 } ) ) ;
3939}
4040function setDefaultOptions ( ctx ) {
41- ctx . optionsManager . options = Object . assign ( {
42- moreButtonPlugin_buttonComponent,
43- moreButtonPlugin_iconComponent
44- } , ctx . optionsManager . options ) ;
45- } ;
41+ ctx . optionsManager . options = Object . assign (
42+ {
43+ moreButtonPlugin_buttonComponent,
44+ moreButtonPlugin_iconComponent,
45+ moreButtonPlugin_buttonTooltip : 'show more' ,
46+ } ,
47+ ctx . optionsManager . options ,
48+ ) ;
49+ }
4650export default function ResponsiveFactory ( ctx , components ) {
4751 setDefaultOptions ( ctx ) ;
4852 setTablistView ( ctx , components ) ;
0 commit comments