mirror of
https://github.com/streamich/react-use.git
synced 2026-01-25 14:17:16 +00:00
docs: fix typo [skip ci]
This commit is contained in:
parent
dd1d5b3a24
commit
91dee9351c
@ -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}>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user