@revenuecat/purchases-ui-js
Version:
Web components for Paywalls. Powered by RevenueCat
10 lines (9 loc) • 312 B
TypeScript
import type { ColorMode } from "../types";
import type { VariableDictionary } from "../utils/variable-utils";
export interface PurchaseState {
selectedPackageId?: string;
locale: string;
defaultLocale: string;
variablesPerPackage?: Record<string, VariableDictionary>;
colorMode: ColorMode;
}