fix build
This commit is contained in:
@@ -1,13 +1,14 @@
|
|||||||
|
import type { ThreeElements } from '@react-three/fiber'
|
||||||
import { forwardRef } from 'react'
|
import { forwardRef } from 'react'
|
||||||
import type { Mesh } from 'three'
|
import type { Mesh } from 'three'
|
||||||
|
|
||||||
interface CursorSphereProps extends Omit<JSX.IntrinsicElements['mesh'], 'ref'> {
|
interface CursorSphereProps extends Omit<ThreeElements['mesh'], 'ref'> {
|
||||||
color?: string
|
color?: string
|
||||||
depthWrite?: boolean
|
depthWrite?: boolean
|
||||||
}
|
}
|
||||||
|
|
||||||
export const CursorSphere = forwardRef<Mesh, CursorSphereProps>(function CursorSphere(
|
export const CursorSphere = forwardRef<Mesh, CursorSphereProps>(function CursorSphere(
|
||||||
{ color = '#f1c066', ...props },
|
{ color = '#f1c066', ...props },
|
||||||
ref,
|
ref,
|
||||||
) {
|
) {
|
||||||
return (
|
return (
|
||||||
|
|||||||
Reference in New Issue
Block a user