UNPKG

@revenuecat/purchases-ui-js

Version:

Web components for Paywalls. Powered by RevenueCat

15 lines (14 loc) 688 B
import type { Size } from "../../types"; import type { Dimension, ZAlignment } from "../../types/alignment"; import type { Badge } from "../../types/components/stack"; import { type CSS } from "../../utils/base-utils"; export declare function mapFixedWidthBounds(width: Size): CSS; export declare function mapFixedHeightBounds(height: Size): CSS; export declare function mapDimension(dimension: Dimension): Record<string, string>; type JustifyAlign = { justifyContent: string; alignItems: string; }; export declare function mapLayerAlignment(alignment: ZAlignment): JustifyAlign; export declare function mapBadge(badge?: Badge | null, parentBorderWidth?: number): CSS; export {};