@revenuecat/purchases-ui-js
Version:
Web components for Paywalls. Powered by RevenueCat
15 lines (14 loc) • 491 B
TypeScript
import type { Snippet } from "svelte";
import type { BrandingAppearance } from "../utils/branding";
export interface UIButtonProps {
onclick?: (event: any) => void;
children?: Snippet;
intent?: "primary";
disabled?: boolean;
testId?: string | undefined;
type?: "reset" | "submit" | "button" | null | undefined;
loading?: boolean;
brandingAppearance?: BrandingAppearance;
styleOverrides?: string;
style?: Record<string, string> | string | undefined;
}