@betterstore/react
Version:
10 lines (9 loc) • 444 B
TypeScript
type PaymentMethodType = "apple_pay" | "card" | "paypal" | "google_pay" | string | null;
interface PaymentCheckoutStore {
isSubmitting: boolean;
setIsSubmitting: (isSubmitting: boolean) => void;
paymentMethod: PaymentMethodType;
setPaymentMethod: (paymentMethod: PaymentMethodType) => void;
}
export declare const usePaymentCheckout: import('zustand').UseBoundStore<import('zustand').StoreApi<PaymentCheckoutStore>>;
export {};