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

Please make the package work for v18.

Open mukhammadalime opened this issue 3 years ago • 2 comments

npm ERR! code ERESOLVE npm ERR! ERESOLVE could not resolve npm ERR! npm ERR! While resolving: [email protected] npm ERR! Found: [email protected] npm ERR! node_modules/react npm ERR! react@"^18.1.0" from the root project npm ERR! peer react@"^18.0.0" from @testing-library/[email protected] npm ERR! node_modules/@testing-library/react npm ERR! @testing-library/react@"^13.3.0" from the root project npm ERR! 5 more (react-dom, react-paginate, react-router, ...) npm ERR! npm ERR! Could not resolve dependency: npm ERR! peer react@"^16.2.0" from [email protected] npm ERR! node_modules/react-otp-input npm ERR! react-otp-input@"^2.4.0" from the root project npm ERR! npm ERR! Conflicting peer dependency: [email protected] npm ERR! node_modules/react npm ERR! peer react@"^16.2.0" from [email protected] npm ERR! node_modules/react-otp-input npm ERR! react-otp-input@"^2.4.0" from the root project

mukhammadalime avatar Jul 05 '22 01:07 mukhammadalime

see https://github.com/MahdiMhqq/react18-otp-input

MahdiMhqq avatar Jul 07 '22 22:07 MahdiMhqq

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

ritikbanger avatar Aug 09 '22 17:08 ritikbanger

v3 supports react-18 now

prateek3255 avatar Mar 25 '23 14:03 prateek3255