Skip to content

Commit

Permalink
re-export defaultApply, ... from react-three/handle
Browse files Browse the repository at this point in the history
  • Loading branch information
bbohlender committed Feb 13, 2025
1 parent 3deafa5 commit b7fecde
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/react/handle/src/hook.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { HandleStore, HandleOptions as BaseHandleOptions, HandleState } from '@pmndrs/handle'
import { HandleStore, HandleOptions as BaseHandleOptions } from '@pmndrs/handle'
import { useFrame } from '@react-three/fiber'
import { RefObject, useEffect, useMemo, useRef } from 'react'
import { Object3D } from 'three'
Expand Down
10 changes: 9 additions & 1 deletion packages/react/handle/src/index.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,12 @@
export * from './hook.js'
export * from './component.js'
export * from './handles/index.js'
export { HandleStore } from '@pmndrs/handle'
export {
HandleStore,
filterForOnePointerLeftClick,
filterForOnePointerRightClickOrTwoPointer,
defaultApply,
defaultMapHandlesScreenCameraApply,
defaultOrbitHandlesScreenCameraApply,
defaultScreenCameraApply,
} from '@pmndrs/handle'

0 comments on commit b7fecde

Please # to comment.