react-otp-input
react-otp-input copied to clipboard
Add optional attributes to support overridden test id attribute
-
What does this PR do? Solved #315 by adding optional attributes to support overridden test id attribute
-
Screenshots and/or Live Demo Given the
custom-test-attrandcustom-test-id<OtpInput inputStyle="inputStyle" numInputs={numInputs} ... custom-test-attr="custom-test-attr" custom-test-id="test-id" />here's the rendered result

We have a published a new OTP input package right here. Please use this: https://www.npmjs.com/package/react18-input-otp
The input component is fully customizable now with v3