@@ -75,6 +75,7 @@ interface Props {
7575 classNameInput ?: string ;
7676 classNameWrapper ?: string ;
7777 classNameInputBox ?: string ;
78+ classNameInputBoxItem ?: string ;
7879 classNameContainer ?: string ;
7980 customStyleInput ?: React . CSSProperties ;
8081 customStyleWrapper ?: React . CSSProperties ;
@@ -93,6 +94,7 @@ const component: React.FC<Props> = ({
9394 classNameInput = '' ,
9495 classNameWrapper = '' ,
9596 classNameInputBox = '' ,
97+ classNameInputBoxItem = '' ,
9698 classNameContainer = '' ,
9799 customStyleInput = { } ,
98100 customStyleWrapper = { } ,
@@ -225,6 +227,7 @@ const component: React.FC<Props> = ({
225227 const boxClass = `${ classNameInputBox } ${ reactInputsValidationCss [ `${ TYPE } __box` ] } ${ err && reactInputsValidationCss [ 'error' ] } ${ internalChecked && reactInputsValidationCss [ 'checked' ] } ${
226228 successMsg !== '' && ! err && reactInputsValidationCss [ 'success' ]
227229 } ${ disabled && reactInputsValidationCss [ 'disabled' ] } `;
230+ const boxItemClass = `${ classNameInputBoxItem } ${ reactInputsValidationCss [ 'box' ] } ` ;
228231 const labelClass = `${ internalChecked && reactInputsValidationCss [ 'checked' ] } ${ err && reactInputsValidationCss [ 'error' ] } ${ successMsg !== '' && ! err && reactInputsValidationCss [ 'success' ] } ${
229232 disabled && reactInputsValidationCss [ 'disabled' ]
230233 } `;
@@ -242,7 +245,7 @@ const component: React.FC<Props> = ({
242245 < button type = "button" ref = { $input } className = { wrapperClass } style = { customStyleWrapper } onClick = { handleOnClick } onBlur = { handleOnBlur } onFocus = { handleOnFocus } { ...attributesWrapper } >
243246 < div className = { containerClass } style = { customStyleContainer } >
244247 < div className = { boxClass } style = { customStyleInputBox } >
245- < div className = { reactInputsValidationCss [ 'box' ] } />
248+ < div className = { boxItemClass } />
246249 < input
247250 type = { TYPE }
248251 className = { reactInputsValidationCss [ `${ TYPE } __input` ] }
0 commit comments