@automattic/wpcom-checkout
Version:
Functions and components used by WordPress.com checkout.
12 lines • 535 B
TypeScript
import { ReactNode } from 'react';
import type { PaymentMethodStore } from '../payment-method-store';
import type { PaymentMethod } from '@automattic/composite-checkout';
type NounsInStore = 'customerName';
type AlipayStore = PaymentMethodStore<NounsInStore>;
export declare function createAlipayPaymentMethodStore(): AlipayStore;
export declare function createAlipayMethod({ store, submitButtonContent, }: {
store: AlipayStore;
submitButtonContent: ReactNode;
}): PaymentMethod;
export {};
//# sourceMappingURL=alipay.d.ts.map