@revenuecat/purchases-ui-js
Version:
Web components for Paywalls. Powered by RevenueCat
8 lines (7 loc) • 397 B
TypeScript
import type { BaseNodeBackgroundType, PaywallData } from "../../data/entities";
import type { ColorMode } from "../../types";
export declare function getBackgroundStyles({ background, colorMode, }: {
background?: BaseNodeBackgroundType;
colorMode: ColorMode;
}): string;
export declare function getBackgroundImageSource(paywallData: PaywallData, colorMode: ColorMode): string | undefined;