We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 37a8a09 commit edbaeebCopy full SHA for edbaeeb
src/lib/index.jsx
@@ -271,6 +271,7 @@ class OtpInput extends Component<Props, State> {
271
errorStyle,
272
shouldAutoFocus,
273
isInputNum,
274
+ className
275
} = this.props;
276
const otp = this.getOtpValue();
277
const inputs = [];
@@ -300,6 +301,7 @@ class OtpInput extends Component<Props, State> {
300
301
errorStyle={errorStyle}
302
shouldAutoFocus={shouldAutoFocus}
303
isInputNum={isInputNum}
304
+ className={className}
305
/>
306
);
307
}
0 commit comments