In a .tsx file, I only know that I can use import ForceGraph3D from '3d-force-graph' to import module. However, when it comes to render() method in my class, the code given in the example seems incompatible. I don't know what to do with this situation.
In a
.tsx
file, I only know that I can useimport ForceGraph3D from '3d-force-graph'
to import module. However, when it comes torender()
method in my class, the code given in the example seems incompatible. I don't know what to do with this situation.