mirror of
https://github.com/streamich/react-use.git
synced 2025-12-08 18:02:14 +00:00
docs: fix typo in usePinchZoom (#2394)
This commit is contained in:
parent
e53ca94a0b
commit
cb5dca6ab1
@ -1,11 +1,11 @@
|
||||
# `usePinchZoon`
|
||||
# `usePinchZoom`
|
||||
|
||||
React sensor hook that tracks the changes in pointer touch events and detects value of pinch difference and tell if user is zooming in or out.
|
||||
|
||||
## Usage
|
||||
|
||||
```jsx
|
||||
import { usePinchZoon } from "react-use";
|
||||
import { usePinchZoom } from "react-use";
|
||||
|
||||
const Demo = () => {
|
||||
const [scale, setState] = useState(1);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user