UNPKG

@flexpa/link-react-native

Version:

React Native SDK for integrating FlexpaLink into mobile applications

20 lines 756 B
/// <reference types="react" /> import { ViewStyle } from 'react-native'; import { WebViewProps } from 'react-native-webview'; type Style = ViewStyle | undefined; export interface FlexpaLinkProps { publishableKey: string; userExternalId: string; redirectUri: string; onSuccess(token: string): void; onExit?(error?: unknown): void; containerStyle?: Style; webViewStyle?: Style; webViewProps?: Partial<WebViewProps>; } /** * FlexpaLink React Native component for OAuth flows */ export default function FlexpaLink({ publishableKey, userExternalId, redirectUri, onSuccess, onExit, containerStyle, webViewStyle, webViewProps, }: FlexpaLinkProps): import("react").JSX.Element; export {}; //# sourceMappingURL=FlexpaLink.d.ts.map