.. | ||
sub-components | ||
index.tsx | ||
README.md | ||
Scrollbar.enums.ts | ||
scrollbar.stories.tsx | ||
Scrollbar.styled.ts | ||
scrollbar.test.tsx | ||
Scrollbar.types.ts |
Scrollbar
Scrollbar is used for displaying custom scrollbar
Usage
import Scrollbar from "@docspace/shared/components";
<Scrollbar>Some content</Scrollbar>
Properties
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 |