Skip to main content

Function: Note()

function Note(__namedParameters): Element | null;

Defined in: components/Note.tsx:23

note — read-only guidance, and the one element whose label is interpolated against the submission data ("Household size: {hh_size}").

Interpolating notes are the single documented exception to per-field subscriptions: a note has no path of its own to watch, so one that contains { re-renders on every engine patch. Notes without placeholders (the common case) never subscribe at all.

formatMessage throws on malformed Mini-Message source in dev builds, and a typo in an author's note must never take down an interview, so the failure mode is "render the raw text".

Parameters

ParameterType
__namedParametersElementComponentProps

Returns

Element | null