lightning-auth-and-payment
Version:
Lightning Network authentication and payment processing library for modern web applications
18 lines • 689 B
TypeScript
import React from 'react';
export interface AuthModalProps {
isOpen: boolean;
onClose: () => void;
lnurl: string | null;
error: string | null;
isLoading: boolean;
onRetry?: () => void;
qrCodeSize?: number;
className?: string;
/** Custom QR code component - if provided, will be used instead of the default img */
qrCodeComponent?: (props: {
lnurl: string;
size: number;
}) => React.ReactNode;
}
export declare function AuthModal({ isOpen, onClose, lnurl, error, isLoading, onRetry, qrCodeSize, className, qrCodeComponent, }: AuthModalProps): import("react/jsx-runtime").JSX.Element | null;
//# sourceMappingURL=AuthModal.d.ts.map