@spot-flow/checkout-inline-js
Version:
This project is an inline library that enables users to make payments seamlessly. It integrates smoothly into your application, providing a streamlined checkout experience.
21 lines (20 loc) • 492 B
TypeScript
type Props = {
container: HTMLDivElement;
amount: number;
currency: string;
localCurrency?: string;
rate?: number;
message?: string;
};
export declare class PaymentSuccess {
container: HTMLDivElement;
amount: number;
currency: string;
localCurrency?: string;
rate?: number;
message?: string;
constructor({ container, amount, currency, localCurrency, rate, message, }: Props);
renderComponent(): void;
render(): string;
}
export {};