Nextjs + Threejs error
Unanswered
West African Lion posted this in #help-forum
![Avatar](https://cdn.discordapp.com/embed/avatars/4.png)
West African LionOP
I was using this site (https://gltf.pmnd.rs/) to generate jsx component which contains the model after giving .glb 3d model. But now I'm working with typescript in Next.js. I want to use that generated JSX as TSX for my project. How to convert it. I'm struggling with type errors. Below is the code
![Image](https://cdn.discordapp.com/attachments/1174736709980799157/1174736710412796125/image_2023-11-16_211346231.png?ex=6568add1&is=655638d1&hm=537f58ae3d88434fd33121ef23151f2857feddf06639aa5f258f03fb4a1c08a8&)
1 Reply
![Avatar](https://cdn.discordapp.com/embed/avatars/2.png)
Dunker
First install types via npm