@@ -15,7 +15,7 @@ ShowMoreButton.propTypes /* remove-proptypes */ = {
15
15
children : PropTypes . element ,
16
16
} ;
17
17
function setTablistOverflow ( ctx , components ) {
18
- components . MoreButtonPlugin = ShowMoreButton . bind ( undefined , { ctx, components } ) ;
18
+ components . MoreButtonPlugin = ShowMoreButton . bind ( undefined , { ctx, components} ) ;
19
19
if ( ! components . OriginalTablistOverflow ) {
20
20
components . OriginalTablistOverflow = components . TablistOverflow ;
21
21
components . TablistOverflow = function ( props ) {
@@ -31,18 +31,22 @@ function setTablistOverflow(ctx, components) {
31
31
function setTablistView ( ctx , components ) {
32
32
components . TablistView = components . TablistViewFactory . bind ( undefined , ( ins ) => ( {
33
33
tablistViewPropsManager : ( ) => {
34
- let { className } = components . tablistViewPropsManager ( ins ) ;
34
+ let { className} = components . tablistViewPropsManager ( ins ) ;
35
35
className += ' rc-dyn-tabs-responsive' ;
36
- return { className } ;
36
+ return { className} ;
37
37
} ,
38
38
} ) ) ;
39
39
}
40
40
function 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
+ }
46
50
export default function ResponsiveFactory ( ctx , components ) {
47
51
setDefaultOptions ( ctx ) ;
48
52
setTablistView ( ctx , components ) ;
0 commit comments