@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.
18 lines (17 loc) • 505 B
TypeScript
type Props = {
container: HTMLDivElement;
onAction?: () => void;
onReportIssue?: () => void;
};
export declare class PaymentWarning {
container: HTMLDivElement;
onAction?: () => void;
onReportIssue?: () => void;
constructor({ container, onAction, onReportIssue }: Props);
attachListener(): void;
setPaymentError(text: string, description?: string, actionText?: string): void;
hideReportIssue(): void;
renderComponent(): void;
render(): string;
}
export {};