DocSpace-client/packages/shared/components/scrollbar
2023-11-24 13:58:56 +03:00
..
sub-components Shared:Components:Scrollbar: rewrite to typescript 2023-11-24 13:58:56 +03:00
index.tsx Shared:Components:Scrollbar: rewrite to typescript 2023-11-24 13:58:56 +03:00
README.md Shared:Components:Scrollbar: rewrite to typescript 2023-11-24 13:58:56 +03:00
Scrollbar.enums.ts Shared:Components:Scrollbar: rewrite to typescript 2023-11-24 13:58:56 +03:00
scrollbar.stories.tsx Shared:Components:Scrollbar: rewrite to typescript 2023-11-24 13:58:56 +03:00
Scrollbar.styled.ts Shared:Components:Scrollbar: rewrite to typescript 2023-11-24 13:58:56 +03:00
scrollbar.test.tsx Shared:Components:Scrollbar: rewrite to typescript 2023-11-24 13:58:56 +03:00
Scrollbar.types.ts Shared:Components:Scrollbar: rewrite to typescript 2023-11-24 13:58:56 +03:00

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