File tree 1 file changed +7
-12
lines changed
1 file changed +7
-12
lines changed Original file line number Diff line number Diff line change @@ -545,18 +545,13 @@ const InternalInputNumber = React.forwardRef(
545
545
// ============================ Render ============================
546
546
return (
547
547
< div
548
- className = { clsx (
549
- prefixCls ,
550
- className ,
551
- {
552
- [ `${ prefixCls } -focused` ] : focus ,
553
- [ `${ prefixCls } -disabled` ] : disabled ,
554
- [ `${ prefixCls } -readonly` ] : readOnly ,
555
- [ `${ prefixCls } -not-a-number` ] : decimalValue . isNaN ( ) ,
556
- [ `${ prefixCls } -out-of-range` ] : ! decimalValue . isInvalidate ( ) && ! isInRange ( decimalValue ) ,
557
- } ,
558
- classNames ?. input ,
559
- ) }
548
+ className = { clsx ( prefixCls , classNames ?. input , className , {
549
+ [ `${ prefixCls } -focused` ] : focus ,
550
+ [ `${ prefixCls } -disabled` ] : disabled ,
551
+ [ `${ prefixCls } -readonly` ] : readOnly ,
552
+ [ `${ prefixCls } -not-a-number` ] : decimalValue . isNaN ( ) ,
553
+ [ `${ prefixCls } -out-of-range` ] : ! decimalValue . isInvalidate ( ) && ! isInRange ( decimalValue ) ,
554
+ } ) }
560
555
style = { style }
561
556
onFocus = { ( ) => {
562
557
setFocus ( true ) ;
You can’t perform that action at this time.
0 commit comments