Skip to content

Commit

Permalink
Fixed typo in useCursor hook docs (#1785)
Browse files Browse the repository at this point in the history
  • Loading branch information
alinaqikhan authored Jan 30, 2024
1 parent 5b250fe commit 8d8c772
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2836,7 +2836,7 @@ return (

![](https://img.shields.io/badge/-Dom only-red)

A small hook that sets the css body cursor according to the hover state of a mesh, so that you can give the use visual feedback when the mouse enters a shape. Arguments 1 and 2 determine the style, the defaults are: onPointerOver = 'pointer', onPointerOut = 'auto'.
A small hook that sets the css body cursor according to the hover state of a mesh, so that you can give the user visual feedback when the mouse enters a shape. Arguments 1 and 2 determine the style, the defaults are: onPointerOver = 'pointer', onPointerOut = 'auto'.

```jsx
const [hovered, set] = useState()
Expand Down

0 comments on commit 8d8c772

Please sign in to comment.