@selfcommunity/react-ui
Version:
React UI Components to integrate a Community created with SelfCommunity Platform.
11 lines (10 loc) • 501 B
TypeScript
import { SCContentType, SCPurchasableContent, SCPaymentPrice } from '@selfcommunity/types';
export interface PaywallsProps {
className?: string;
contentType?: SCContentType;
contentId?: number | string;
content?: SCPurchasableContent;
prefetchedPaymentContentStatus?: SCPurchasableContent;
onUpdatePaymentOrder?: (price: SCPaymentPrice, contentType?: SCContentType, contentId?: string | number) => void;
}
export default function Paywalls(inProps: PaywallsProps): JSX.Element;