File tree Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -233,7 +233,6 @@ class Pagination extends React.Component {
233
233
if ( 'onChange' in this . props && this . props . onChange ) {
234
234
this . props . onChange ( current , size ) ;
235
235
}
236
-
237
236
} ;
238
237
239
238
handleChange = ( p ) => {
@@ -441,7 +440,12 @@ class Pagination extends React.Component {
441
440
442
441
return (
443
442
< ul
444
- className = { classNames ( prefixCls , `${ prefixCls } -simple` , className ) }
443
+ className = { classNames (
444
+ prefixCls ,
445
+ `${ prefixCls } -simple` ,
446
+ { [ `${ prefixCls } -disabled` ] : disabled } ,
447
+ className ,
448
+ ) }
445
449
style = { style }
446
450
ref = { this . savePaginationNode }
447
451
{ ...dataOrAriaAttributeProps }
@@ -465,6 +469,7 @@ class Pagination extends React.Component {
465
469
< input
466
470
type = "text"
467
471
value = { currentInputValue }
472
+ disabled = { disabled }
468
473
onKeyDown = { this . handleKeyDown }
469
474
onKeyUp = { this . handleKeyUp }
470
475
onChange = { this . handleKeyUp }
You can’t perform that action at this time.
0 commit comments