import Scrollbar from "../../app/components/utility/Scrollbar"; const tallContent = (

Line 1

Line 2

Line 3

Line 4

Line 5

Line 6

Line 7

Line 8

Line 9

Line 10

); const wideContent = (
Item A Item B Item C Item D Item E
); export default { title: "Components/Utility/Scrollbar", component: Scrollbar, parameters: { layout: "centered", docs: { description: { component: "A scrollable container that applies the design system scrollbar styling. Supports vertical, horizontal, or both overflow.", }, }, }, argTypes: { orientation: { control: { type: "select" }, options: ["vertical", "horizontal", "both"], description: "Scroll direction", }, }, }; export const Default = { args: { children: tallContent, orientation: "vertical", }, decorators: [ (Story) => (
), ], }; export const Horizontal = { args: { children: wideContent, orientation: "horizontal", }, decorators: [ (Story) => (
), ], }; export const Both = { args: { children: (
Scroll both directions. Content is larger than the container.
), orientation: "both", }, decorators: [ (Story) => (
), ], };