import { NAME, pattern, UI, type VNode, Writable } from "commonfabric"; import { Controls, SelectControl, SwitchControl, } from "../ui/controls/index.ts"; // deno-lint-ignore no-empty-interface interface HGroupStoryInput {} export interface HGroupStoryOutput { [NAME]: string; [UI]: VNode; controls: VNode; } export default pattern(() => { const gap = new Writable<"sm" | "md" | "lg">("md"); const wrap = new Writable(false); return { [NAME]: "cf-hgroup Story", [UI]: (
Interactive
Card A Card B Card C
Gap Sizes
gap=sm A B C gap=md A B C gap=lg A B C
), controls: ( <> ), }; });