Plugins
Covers Engine Plugin SDK 2.0.0 · Interface Plugin SDK 0.2.0
ScrollArea
Scroll Area using the host's styled scrolling presentation.
Import
import { ScrollArea } from "@dartwic/interface-sdk/ui";Declaration
export const ScrollArea: HostComponent<ScrollAreaProps>;ScrollAreaProps
Props accepted by a scroll viewport.
export interface ScrollAreaProps extends HostComponentProps {}| Prop | Type | Requirement | Description |
|---|---|---|---|
className | string | Optional | Additional Tailwind or host CSS classes. |
children | HostNode | Optional | Child content rendered by the host component. |
id | string | Optional | Optional DOM identifier. |
style | Record<string, unknown> | Optional | Inline style values passed to the host component. |