From c696dcea4f8987c627b19de29718a4fbcb377a90 Mon Sep 17 00:00:00 2001 From: Himanshu Date: Mon, 8 Jul 2019 18:07:50 +0530 Subject: [PATCH] input style prop fix --- src/lib/index.jsx | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/lib/index.jsx b/src/lib/index.jsx index 267671aa..ce5500e7 100644 --- a/src/lib/index.jsx +++ b/src/lib/index.jsx @@ -89,7 +89,7 @@ class SingleOtpInput extends PureComponent<*> { { className={this.getClasses( focus && focusStyle, isDisabled && disabledStyle, - hasErrored && errorStyle + hasErrored && errorStyle, + !isStyleObject(inputStyle) && inputStyle )} type={isInputNum ? 'number' : 'tel'} {...numValueLimits}