Skip to content

@checkout-kit/core / PHASE_TO_UI_STATE

Variable: PHASE_TO_UI_STATE ​

ts
const PHASE_TO_UI_STATE: Record<CheckoutPhase, PaymentUiState>;

Exhaustive: a new phase is a compile error rather than a screen that renders nothing. editing and validating are form states, layered over idle by the React hook.

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