import { NAME, pattern, UI, type VNode } from "commonfabric"; // deno-lint-ignore no-empty-interface interface CollapsibleStoryInput {} export interface CollapsibleStoryOutput { [NAME]: string; [UI]: VNode; controls: VNode; } export default pattern(() => { return { [NAME]: "cf-collapsible Story", [UI]: (
Click to expand
Hidden content revealed on expand. Animated height transition.
Already open
This section starts open.
), controls: (
No interactive controls. Attributes: open (boolean). Animated height transition.
), }; });