Skip to content

Commit 0b6f3b9

Browse files
authored
Merge pull request #417 from itsdouges/main
Fix handle package being named handles
2 parents 3154922 + 185fc23 commit 0b6f3b9

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

docs/getting-started/faq.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ In contrast to non-immersive 3D applications, the camera transformation in MR/VR
2323
Check if you have OrbitControls, CameraControls from `@react-three/drei`, or other controls in your scene and make sure to place an `<IfInSessionMode deny={['immersive-ar', 'immersive-vr']}>` guard around them when in XR or replace them with `OrbitHandles` or `MapHandles` from `@react-three/handle`. This prevents overwriting the camera transformation which is controlled through WebXR when inside an immersive session and allows to access the correct transformation.
2424

2525
```tsx
26-
import { OrbitHandles } from '@react-three/handles'
26+
import { OrbitHandles } from '@react-three/handle'
2727
import { noEvents, PointerEvents } from '@react-three/xr'
2828

2929
<Canvas events={noEvents}>

docs/handles/prebuild-handles.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ The `Handle` component allows for the orchestration of multiple handles together
99
Using the `TransformHandles` and `PivotHandles` in React Three Fiber requires disabling the built-in event system and adding the event system of `@react-three/xr`.
1010

1111
```tsx
12-
import { TransformHandles } from '@react-three/handles'
12+
import { TransformHandles } from '@react-three/handle'
1313
import { noEvents, PointerEvents } from '@react-three/xr'
1414

1515
<Canvas events={noEvents}>

docs/handles/screen-handle-components.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ Screen handles are available for screen-based devices like smartphones and PCs a
99
Using the `OrbitHandles` and `MapHandles` in React Three Fiber requires disabling the built-in event system and adding the event system of `@react-three/xr`.
1010

1111
```tsx
12-
import { OrbitHandles } from '@react-three/handles'
12+
import { OrbitHandles } from '@react-three/handle'
1313
import { noEvents, PointerEvents } from '@react-three/xr'
1414

1515
<Canvas events={noEvents}>

0 commit comments

Comments
 (0)