We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 58fed53 commit b21776dCopy full SHA for b21776d
README.md
@@ -37,7 +37,7 @@ This hook only take one argument that should be a ref to an HTML Element. This h
37
```js
38
//TypeScript
39
function Example() {
40
- const ref = useRef <HTMLDivElement>(null);
+ const ref = useRef<HTMLDivElement>(null);
41
42
//I'm destructuring the object but you can easily use it without destructuring
43
const { x, y } = useProximity(ref);
0 commit comments