A2uiSurfaceWriter
Unpublished development API. This package is under development and is not available as a published release.
What a mounted surface offers its input components.
import type { A2uiSurfaceWriter } from '@threadplane/react/a2ui';Declaration
export interface A2uiSurfaceWriter {
readonly editable: boolean;
readonly write: (path: string | undefined, value: A2uiValue) => void;
}Members
editable
False when the surface was given no store: inputs then show values and change nothing.
readonly editable: boolean;write
Writes one edit at a data model path; a missing path (a literal prop) is ignored.
readonly write: (path: string | undefined, value: A2uiValue) => void;