docs: fix typo [skip ci]

This commit is contained in:
Va Da 2019-03-25 14:05:26 +01:00 committed by GitHub
parent dd1d5b3a24
commit 91dee9351c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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}>