fix import
This commit is contained in:
parent
cb7da52af8
commit
e2a6c7327f
@ -1,6 +1,6 @@
|
|||||||
import React from 'react'
|
import React from 'react'
|
||||||
import * as Fiber from '@react-three/fiber'
|
import * as Fiber from '@react-three/fiber'
|
||||||
import Three from 'three'
|
import * as Three from 'three'
|
||||||
|
|
||||||
const ThreeBox:React.FC<{position?:Fiber.Vector3}> =(args)=> {
|
const ThreeBox:React.FC<{position?:Fiber.Vector3}> =(args)=> {
|
||||||
const meshRef = React.useRef<Three.Mesh>(null)
|
const meshRef = React.useRef<Three.Mesh>(null)
|
||||||
|
Loading…
Reference in New Issue
Block a user