mirror of
https://github.com/tenrok/OverlayScrollbars.git
synced 2026-06-21 22:50:37 +03:00
improve readme
This commit is contained in:
@@ -79,10 +79,10 @@ Additionally it has three optional properties: `element`, `options` and `events`
|
|||||||
```jsx
|
```jsx
|
||||||
// example usage
|
// example usage
|
||||||
<OverlayScrollbarsComponent
|
<OverlayScrollbarsComponent
|
||||||
defer
|
|
||||||
element="span"
|
element="span"
|
||||||
options={{ scrollbars: { autoHide: 'scroll' } }}
|
options={{ scrollbars: { autoHide: 'scroll' } }}
|
||||||
events={{ scroll: () => { /* ... */ } }}
|
events={{ scroll: () => { /* ... */ } }}
|
||||||
|
defer
|
||||||
/>
|
/>
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user