import { NAME, pattern, UI, type VNode, Writable } from "commonfabric"; import { Controls, SwitchControl } from "../ui/controls/index.ts"; // deno-lint-ignore no-empty-interface interface HScrollStoryInput {} export interface HScrollStoryOutput { [NAME]: string; [UI]: VNode; controls: VNode; } export default pattern(() => { const showScrollbar = new Writable(true); const fadeEdges = new Writable(false); return { [NAME]: "cf-hscroll Story", [UI]: (
Horizontal Scrollable Area
Card 1 Card 2 Card 3 Card 4 Card 5 Card 6 Card 7 Card 8
Image Gallery Style
🌅
🏔️
🌿
🌸
🦋
🍂
), controls: ( <> ), }; });