mirror of
https://github.com/tenrok/OverlayScrollbars.git
synced 2026-06-19 21:10:37 +03:00
improve readme
This commit is contained in:
@@ -97,7 +97,7 @@ In case the `OverlayScrollbarsComponent` is not enough, you can also use the `us
|
|||||||
```js
|
```js
|
||||||
import { useOverlayScrollbars } from "overlayscrollbars-react";
|
import { useOverlayScrollbars } from "overlayscrollbars-react";
|
||||||
|
|
||||||
// example
|
// example usage
|
||||||
const Component = () => {
|
const Component = () => {
|
||||||
const ref = useRef();
|
const ref = useRef();
|
||||||
const [initialize, instance] = useOverlayScrollbars({ options, events });
|
const [initialize, instance] = useOverlayScrollbars({ options, events });
|
||||||
|
|||||||
Reference in New Issue
Block a user