UNPKG

@microbitsclub/paywall-solid

Version:
14 lines (13 loc) 523 B
import { JSX } from 'solid-js'; export declare type PaywallPopoverMode = 'no-session' | 'not-authorized'; export interface PaywallPopoverContentProps { mode?: PaywallPopoverMode; visible?: boolean; paywallId?: string; paywallPrice?: number; contentUrl?: string; onLogin?: (contentUrl: string, shouldPurchase: boolean) => void; onPurchase?: (contentUrl: string) => void; onCancel?: () => void; } export declare const PaywallPopoverContent: (props: PaywallPopoverContentProps) => JSX.Element;