Skip to content

Commit

Permalink
docs: fix typo [skip ci]
Browse files Browse the repository at this point in the history
  • Loading branch information
streamich authored Mar 25, 2019
1 parent dd1d5b3 commit 91dee93
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/useMouse.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import {useMouse} from 'react-use';

const Demo = () => {
const ref = React.useRef(null);
const {docX, docY, posX, posY, elX, elY, elW, elH} = useScroll(ref);
const {docX, docY, posX, posY, elX, elY, elW, elH} = useMouse(ref);

return (
<div ref={element}>
Expand Down

0 comments on commit 91dee93

Please sign in to comment.