Closed Lekhrajk closed 1 year ago
Running npm i prop-types
should fix your problem!
Since this package use Typescript. I think no need to use prop-types again. I'm creating the PR for the fix https://github.com/WinterCore/react-text-transition/pull/64
Hi @Lekhrajk
This issue should be solved by updating to v3.1.0
.
I will close this issue, and feel free to re-open again if you still facing the issue. Thank you!
Ok will check. Thanks for your answer
I just installed it and nextjs is throwing the following error
./node_modules/react-text-transition/lib-esm/components/TextTransition.js:13:0 Module not found: Can't resolve 'prop-types'
i am using "next": "latest", "react": "18.2.0", "react-dom": "18.2.0",
any solution for this?