@betterstore/react
Version:
19 lines (18 loc) • 657 B
TypeScript
import { Locale } from '../../types';
import { default as React } from 'react';
import { AppearanceConfig, Fonts } from './appearance';
interface CheckoutEmbedProps {
checkoutId: string;
config: {
checkoutSecret: string;
cancelUrl: string;
successUrl: string;
appearance?: AppearanceConfig;
fonts?: Fonts;
locale?: Locale;
clientProxy?: string;
};
}
declare function CheckoutEmbedComponent({ checkoutId, config }: CheckoutEmbedProps): import("react/jsx-runtime").JSX.Element;
declare const CheckoutEmbed: React.MemoExoticComponent<typeof CheckoutEmbedComponent>;
export { CheckoutEmbed };