@betterstore/react
Version:
E-commerce for Developers
19 lines (18 loc) • 613 B
TypeScript
import { Locale } from "@/i18n";
import React from "react";
import { AppearanceConfig, Fonts } from "./appearance";
interface CheckoutEmbedProps {
checkoutId: string;
config: {
clientSecret: string;
cancelUrl: string;
successUrl: string;
appearance?: AppearanceConfig;
fonts?: Fonts;
locale?: Locale;
clientProxy?: string;
};
}
declare function CheckoutEmbedComponent({ checkoutId, config }: CheckoutEmbedProps): React.JSX.Element;
declare const CheckoutEmbed: React.MemoExoticComponent<typeof CheckoutEmbedComponent>;
export { CheckoutEmbed };