@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
| Parameter | Type |
|---|---|
{ problems, heading, autoFocus, className } | ValidationSummaryProps |
Returns
ReactElement | null