@revenuecat/purchases-ui-js
Version:
Web components for Paywalls. Powered by RevenueCat
20 lines (19 loc) • 723 B
TypeScript
import type { BaseComponent } from "../base";
import type { StackProps } from "./stack";
import type { BorderType, ShadowType, ShapeType, SizeType, Spacing } from "../..";
import type { Background } from "../background";
import type { Overrides } from "../overrides";
export interface ExpressPurchaseButtonProps extends BaseComponent {
type: "express_purchase_button";
wallet_unknown_stack: StackProps;
wallet_available_stack: StackProps;
wallet_unavailable_stack: StackProps;
size: SizeType;
padding: Spacing;
margin: Spacing;
shape: ShapeType | null;
shadow: ShadowType | null;
background: Background | null;
border: BorderType | null;
overrides?: Overrides<StackProps>;
}