Skip to content

Commit 9b6ed8a

Browse files
committed
Update README
1 parent 3d003dc commit 9b6ed8a

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

.gitignore

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
node_modules
22
dist
3-
.DS_Store
3+
.DS_Store
4+
build

README.md

+3-1
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,12 @@ yarn add use-overflow
1414

1515
## Usage
1616

17+
[Check out the live example](https://amorriscode.github.io/use-overflow/).
18+
1719
```tsx
1820
import * as React from 'react'
1921

20-
import { useMyHook } from 'use-overflow'
22+
import { useOverflow } from 'use-overflow'
2123

2224
const Example = () => {
2325
const horizonstalRef = React.useRef(null);

0 commit comments

Comments
 (0)