UNPKG

@betterstore/react

Version:

10 lines (9 loc) 423 B
type PaymentMethodType = "apple_pay" | "card" | "paypal" | "google_pay" | string | null; interface CheckoutStore { isSubmitting: boolean; setIsSubmitting: (isSubmitting: boolean) => void; paymentMethod: PaymentMethodType; setPaymentMethod: (paymentMethod: PaymentMethodType) => void; } export declare const useCheckout: import('zustand').UseBoundStore<import('zustand').StoreApi<CheckoutStore>>; export {};