Skip to content

Commit b21776d

Browse files
authored
Update README.md
1 parent 58fed53 commit b21776d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ This hook only take one argument that should be a ref to an HTML Element. This h
3737
```js
3838
//TypeScript
3939
function Example() {
40-
const ref = useRef <HTMLDivElement>(null);
40+
const ref = useRef<HTMLDivElement>(null);
4141

4242
//I'm destructuring the object but you can easily use it without destructuring
4343
const { x, y } = useProximity(ref);

0 commit comments

Comments
 (0)