Adham
Adham
did you find a solution?
found a solution in the docs add universal https://github.com/RobPethick/react-custom-scrollbars-2/blob/master/docs/usage.md#universal-rendering
Why not merged yet?
@ [dreyescat](https://github.com/dreyescat) you need to update react types to 18 https://stackoverflow.com/questions/71841181/some-components-cannot-be-used-as-a-jsx-component
@rdtawagon delete node_modules and yarn.lock then add this to the package.json "resolutions": { "@types/react": "^18.0.2", "@types/react-dom": "18.0.2" }