react-otp-input icon indicating copy to clipboard operation
react-otp-input copied to clipboard

When providing number type value getting error

Open RishabhReactJS opened this issue 3 years ago • 1 comments

I'm using .TSX file, in that when I'm passing value as number type it's giving error during build time, Type 'number' is not assignable to type 'string'. But in documentation it's mentioned value can be string/number.

  • Steps to reproduce the issue:

  • Relevant error messages and/or screenshots:

RishabhReactJS avatar Mar 28 '21 12:03 RishabhReactJS

The feature is available in: https://www.npmjs.com/package/react18-input-otp

ritikbanger avatar Aug 09 '22 17:08 ritikbanger

v3 is fully type safe now

prateek3255 avatar Mar 25 '23 15:03 prateek3255