Look at BentPlaneGeometry.tsx, MeshSineMaterial.tsx, and Card.tsx to see how to extend things.
Make sure to install "@react-three/fiber": "^9.0.0-rc.1",
in order to have proper compatibility with next 15
Example repo of react-three-fiber, next 15, and typescript running on Tauri.
TypeScript
Look at BentPlaneGeometry.tsx, MeshSineMaterial.tsx, and Card.tsx to see how to extend things.
Make sure to install "@react-three/fiber": "^9.0.0-rc.1",
in order to have proper compatibility with next 15