@checkout-kit/react / usePaymentState
Variable: usePaymentState
ts
const usePaymentState: (input?) => PaymentUiState;The engine supplies seven of the nine states; the other two are about the form.
Parameters
| Parameter | Type |
|---|---|
input? | PaymentStateInput |
Returns
PaymentUiState