@getpassage/react-native
Version:
Passage React Native SDK for mobile authentication
17 lines (16 loc) • 523 B
TypeScript
import React from "react";
interface WebViewModalProps {
visible: boolean;
url: string;
automationUrl?: string;
presentationStyle: "modal" | "fullScreen";
automationUserAgent?: string;
marginBottom?: number;
onClose: () => void;
onSuccess?: (data: any) => void;
onError?: (error: any) => void;
onImageCaptured?: (imageUri: string) => void;
onWebviewChange?: (webviewType: "ui" | "automation") => void;
}
export declare const WebViewModal: React.FC<WebViewModalProps>;
export {};