import { NAME, pattern, UI, type VNode } from "commonfabric"; // deno-lint-ignore no-empty-interface interface FieldStoryInput {} interface FieldStoryOutput { [NAME]: string; [UI]: VNode; controls: VNode; } export default pattern(() => { return { [NAME]: "cf-field Story", [UI]: (
cf-field wraps any control: cf-input, cf-select, cf-textarea, etc. When error is set it replaces the help text.
), controls: (
No interactive controls. Attributes: label, required, error, help.
), }; });