@checkout-kit/ui / ErrorText
Variable: ErrorText
ts
const ErrorText: ({ children, id, className }) => ReactElement | null;The payment-level error, and the only alert on the page. Field errors are polite - see <Field> - so a decline interrupts and a typo does not.
Parameters
| Parameter | Type |
|---|---|
{ children, id, className } | ErrorTextProps |
Returns
ReactElement | null