Closed carryall closed 1 year ago
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-attr and custom-test-id
custom-test-attr
custom-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
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-attr
andcustom-test-id
here's the rendered result