react-native-appodeal
Version:
React Native Module created to support Appodeal SDK for iOS and Android platforms
17 lines • 758 B
TypeScript
import type { HostComponent, ViewProps } from 'react-native';
import type { DirectEventHandler } from 'react-native/Libraries/Types/CodegenTypes';
export type MrecAdLoadedEvent = Readonly<{
isPrecache: boolean;
}>;
export type MrecAdLoadFailedEvent = Readonly<{}>;
export type MrecAdInfoEvent = Readonly<{}>;
export interface NativeProps extends ViewProps {
placement?: string;
onAdLoaded?: DirectEventHandler<MrecAdLoadedEvent>;
onAdFailedToLoad?: DirectEventHandler<MrecAdLoadFailedEvent>;
onAdClicked?: DirectEventHandler<MrecAdInfoEvent>;
onAdExpired?: DirectEventHandler<MrecAdInfoEvent>;
}
declare const _default: HostComponent<NativeProps>;
export default _default;
//# sourceMappingURL=AppodealMrecViewNativeComponent.d.ts.map