@ekko-earth/ekko-js
Version:
A framework-agnostic web SDK for displaying carbon impact.
12 lines (11 loc) • 381 B
TypeScript
import { Ekko } from "./ekko";
import { IImpactPayElementConfig } from "./types/impactpay-element-config";
export interface ElementsOptions {
clientSecret: string;
}
export declare class EkkoElements {
private ekko;
private options;
constructor(ekko: Ekko, options: ElementsOptions);
createImpactPayPageTakeover(config: IImpactPayElementConfig): HTMLElement;
}