mirror of
https://github.com/status-im/react-native-webview.git
synced 2026-08-31 11:41:08 +00:00
7 lines
806 B
TypeScript
7 lines
806 B
TypeScript
import { 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 }: import("react-native").NativeSyntheticEvent<import("./WebViewTypes").WebViewNavigation>) => 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
|