@revenuecat/purchases-ui-js
Version:
Web components for Paywalls. Powered by RevenueCat
16 lines (15 loc) • 526 B
TypeScript
import type { SizeType } from "..";
import type { BaseComponent } from "../base";
export interface WebViewProps extends BaseComponent {
type: "web_view";
visible?: boolean | null;
/**
* Version of the host <-> web-component postMessage bridge protocol. Only `1`
* exists today. Selects the CDN host-bridge build loaded at runtime (see
* `web-view-sdk.ts`).
*/
protocol_version: 1;
/** External, `https`-only asset URL the iframe is pointed at. */
url: string;
size: SizeType;
}