UNPKG

@nacelle/react-hooks

Version:

Custom convenience hooks for use when building apps with Nacelle

11 lines (10 loc) 663 B
import { Reducer } from 'react'; import { Actions, CheckoutState } from './use-checkout.types'; export declare const initialState: CheckoutState; export declare const CLEAR_CHECKOUT_DATA = "checkout/clear-checkout-data"; export declare const SET_GET_CHECKOUT_DATA = "checkout/set-get-checkout-data"; export declare const SET_GET_CHECKOUT_ERROR = "checkout/set-get-checkout-error"; export declare const SET_PROCESS_CHECKOUT_ERROR = "checkout/set-process-checkout-error"; export declare const SET_PROCESS_CHECKOUT_DATA = "checkout/set-process-checkout-data"; declare const checkoutReducer: Reducer<CheckoutState, Actions>; export default checkoutReducer;