Function: ConsentBlock()
function ConsentBlock(__namedParameters): Element;
Defined in: components/ConsentBlock.tsx:31
consent — the block that gates a whole interview.
The stored value is an object, not a boolean, because forms address it as
${consent}.granted and because the version of the text that was agreed to
has to travel with the answer for the audit to mean anything (docs/04 §10,
props.textVersion). Withdrawing is a re-decision, not a deletion: the value
flips to granted: false and stays timestamped.
Parameters
| Parameter | Type |
|---|---|
__namedParameters | ElementComponentProps |
Returns
Element