import { NAME, pattern, UI, type VNode, Writable } from "commonfabric"; import { Controls, SwitchControl } from "../ui/controls/index.ts"; // deno-lint-ignore no-empty-interface interface ProgressStoryInput {} export interface ProgressStoryOutput { [NAME]: string; [UI]: VNode; controls: VNode; } export default pattern(() => { const indeterminate = new Writable(false); return { [NAME]: "cf-progress Story", [UI]: (
Interactive Various Values 0%
25%
50%
75%
100%
Indeterminate
), controls: ( ), }; });