@blocklet/payment-react
Version:
Reusable react components for payment kit v2
21 lines (20 loc) • 651 B
TypeScript
import type { TCustomer } from '@blocklet/payment-types';
export type StripeCheckoutFormProps = {
clientSecret: string;
intentType: string;
customer: TCustomer;
mode: string;
onConfirm: Function;
returnUrl?: string;
};
export type StripeCheckoutProps = {
clientSecret: string;
intentType: string;
publicKey: string;
mode: string;
customer: TCustomer;
onConfirm: Function;
onCancel: Function;
returnUrl?: string;
};
export default function StripeCheckout({ clientSecret, intentType, publicKey, mode, customer, onConfirm, onCancel, returnUrl, }: StripeCheckoutProps): import("react").JSX.Element;