Component docs
Loading
import { ScrollArea } from "@pixxl-tools/components";
// In Server Components:
import { ScrollArea } from "@pixxl-tools/components/server";| Prop | Type | Default | Description |
|---|---|---|---|
axis | "x" | "y" | "both" | — | — |
axis"x" | "y" | "both"
Other props are passed to the root element (HTMLAttributes<HTMLDivElement>), including className, style, id and aria-* attributes.
<ScrollArea>...</ScrollArea>