Skip to content

Commit d7bf03e

Browse files
committed
chore: cleanup
1 parent 69439cc commit d7bf03e

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

src/core/shapes.tsx

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,7 @@ import * as React from 'react'
22
import * as THREE from 'three'
33

44
export type Args<T> = T extends new (...args: any) => any ? ConstructorParameters<T> : T
5-
export type ShapeProps<T> = Omit<JSX.IntrinsicElements['mesh'], 'args'> & {
6-
args?: Args<T>
7-
children?: React.ReactNode
8-
}
5+
export type ShapeProps<T> = Omit<JSX.IntrinsicElements['mesh'], 'args'> & { args?: Args<T> }
96

107
function create<T>(type: string, effect?: (mesh: THREE.Mesh) => void) {
118
const El: any = type + 'Geometry'

0 commit comments

Comments
 (0)