docs: fix typo in usePinchZoom (#2394)

This commit is contained in:
se-ul 2022-10-12 19:04:16 +09:00 committed by GitHub
parent e53ca94a0b
commit cb5dca6ab1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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);