2019-07-16 12:50:09 +00:00
|
|
|
# Scrollbar
|
|
|
|
|
2019-11-21 13:28:53 +00:00
|
|
|
Scrollbar is used for displaying custom scrollbar
|
2019-07-16 12:50:09 +00:00
|
|
|
|
2019-11-21 13:28:53 +00:00
|
|
|
### Usage
|
2019-07-16 12:50:09 +00:00
|
|
|
|
|
|
|
```js
|
2021-02-25 21:19:45 +00:00
|
|
|
import Scrollbar from "@appserver/components/scrollbar";
|
2019-11-21 13:28:53 +00:00
|
|
|
```
|
2019-07-16 12:50:09 +00:00
|
|
|
|
2019-11-21 13:28:53 +00:00
|
|
|
```jsx
|
2019-07-16 12:50:09 +00:00
|
|
|
<Scrollbar>Some content</Scrollbar>
|
|
|
|
```
|
|
|
|
|
2019-11-21 13:28:53 +00:00
|
|
|
### Properties
|
2019-07-16 12:50:09 +00:00
|
|
|
|
2019-12-03 13:03:44 +00:00
|
|
|
| Props | Type | Required | Values | Default | Description |
|
|
|
|
| ----------- | :------------: | :------: | :---------------------------------------------------------: | :----------: | -------------------- |
|
|
|
|
| `className` | `string` | - | - | - | Accepts class |
|
|
|
|
| `id` | `string` | - | - | - | Accepts id |
|
|
|
|
| `style` | `obj`, `array` | - | - | - | Accepts css style |
|
|
|
|
| `stype` | `string` | | `smallWhite`, `smallBlack`, `preMediumBlack`, `mediumBlack` | `smallBlack` | Scrollbar style type |
|