@revenuecat/purchases-ui-js
Version:
Web components for Paywalls. Powered by RevenueCat
31 lines (30 loc) • 642 B
TypeScript
type AppFontFamilyConfig = {
type: "name" | "url";
value?: string;
family: string;
hash: string;
style: string;
url: string;
weight: number;
};
export type AppFontsConfig = Record<string, {
ios?: AppFontFamilyConfig;
android?: AppFontFamilyConfig;
web?: AppFontFamilyConfig;
}>;
export type UIConfig = {
app: {
fonts: AppFontsConfig;
};
custom_variables?: Record<string, {
default_value: string;
type: "string";
} | {
default_value: number;
type: "number";
} | {
default_value: boolean;
type: "boolean";
}>;
};
export {};