mirror of
https://github.com/status-im/react-native-webview.git
synced 2026-08-31 03:31:05 +00:00
7 lines
765 B
TypeScript
7 lines
765 B
TypeScript
import { WebViewNavigationEvent, OnShouldStartLoadWithRequest } from './WebViewTypes';
|
|
declare const defaultOriginWhitelist: string[];
|
|
declare const createOnShouldStartLoadWithRequest: (loadRequest: (shouldStart: boolean, url: string, lockIdentifier: number) => void, originWhitelist: readonly string[], onShouldStartLoadWithRequest?: OnShouldStartLoadWithRequest | undefined) => ({ nativeEvent }: WebViewNavigationEvent) => void;
|
|
declare const defaultRenderLoading: () => JSX.Element;
|
|
declare const defaultRenderError: (errorDomain: string | undefined, errorCode: number, errorDesc: string) => JSX.Element;
|
|
export { defaultOriginWhitelist, createOnShouldStartLoadWithRequest, defaultRenderLoading, defaultRenderError, };
|
|
//# sourceMappingURL=WebViewShared.d.ts.map
|