Scroll Area
The ScrollArea component is used to show scrollable box.
1. Import
KUMUI exports 1 ScrollArea-related components:
import { ScrollArea } from "@rohitgadekar/kimui";
2. Usage
3. API
3.1 ScrollArea
| Attribute | Type | Description | Default |
|---|---|---|---|
| className | string | Custom CSS classes for the ScrollArea container. | - |
| scrollbarWidth | number | Defines the width of the scrollbar. Default is 8px. | 8 |
| scrollbarColor | string | Specifies the color of the scrollbar. Default is #a0aec0. | #a0aec0 |