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