diff --git a/src/lib/index.jsx b/src/lib/index.jsx index 683fa88b..a43f65f2 100644 --- a/src/lib/index.jsx +++ b/src/lib/index.jsx @@ -89,6 +89,7 @@ class SingleOtpInput extends PureComponent<*> { hasErrored && isStyleObject(errorStyle) && errorStyle )} className={this.getClasses( + !isStyleObject(inputStyle) && inputStyle, focus && focusStyle, isDisabled && disabledStyle, hasErrored && errorStyle