Skip to content

@checkout-kit/ui / ValidationSummary

Variable: ValidationSummary ​

ts
const ValidationSummary: ({ problems, heading, autoFocus, className }) => ReactElement | null;

Every problem on the form, each linked to its field. Per-field errors are deliberately polite - see <Field> - so without this, nothing says how many there were on submit.

Parameters ​

ParameterType
{ problems, heading, autoFocus, className }ValidationSummaryProps

Returns ​

ReactElement | null

Apache-2.0 · Headless engine, provider adapters and runnable examples.