Skip to content

Commit

Permalink
fix: change TransformControlsProps mode & space to union type (#1116)
Browse files Browse the repository at this point in the history
  • Loading branch information
nguyenmanh1507 committed Oct 29, 2022
1 parent fd90f05 commit 9033468
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/core/TransformControls.tsx
Expand Up @@ -15,11 +15,11 @@ export type TransformControlsProps = ReactThreeFiber.Object3DNode<TransformContr
enabled?: boolean
axis?: string | null
domElement?: HTMLElement
mode?: string
mode?: 'translate' | 'rotate' | 'scale'
translationSnap?: number | null
rotationSnap?: number | null
scaleSnap?: number | null
space?: string
space?: 'world' | 'local'
size?: number
showX?: boolean
showY?: boolean
Expand Down

1 comment on commit 9033468

@vercel
Copy link

@vercel vercel bot commented on 9033468 Oct 29, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.