UNPKG

@datadog/mobile-react-native-webview

Version:

A client-side React Native module to interact with react-native-webview and Datadog

11 lines 568 B
import type { TurboModule } from 'react-native'; /** * We have to redefine the spec for the Native SDK here to be able to use the new architecture. * We don't declare it in a spec file so we don't end up with a duplicate definition of the native module. */ export interface PartialNativeDdSdkSpec extends TurboModule { consumeWebviewEvent(message: string): Promise<void>; telemetryError(message: string, stack: string, kind: string): Promise<void>; } export declare const NativeDdSdk: PartialNativeDdSdkSpec | null; //# sourceMappingURL=NativeDdSdk.d.ts.map