UNPKG

react-native-appodeal

Version:

React Native Module created to support Appodeal SDK for iOS and Android platforms

20 lines 846 B
import type { HostComponent, ViewProps } from 'react-native'; import type { DirectEventHandler } from 'react-native/Libraries/Types/CodegenTypes'; export type BannerAdLoadedEvent = Readonly<{ height: string; isPrecache: boolean; }>; export type BannerAdLoadFailedEvent = Readonly<{}>; export type BannerAdInfoEvent = Readonly<{}>; export interface NativeProps extends ViewProps { adSize?: string; placement?: string; usesSmartSizing?: boolean; onAdLoaded?: DirectEventHandler<BannerAdLoadedEvent>; onAdFailedToLoad?: DirectEventHandler<BannerAdLoadFailedEvent>; onAdClicked?: DirectEventHandler<BannerAdInfoEvent>; onAdExpired?: DirectEventHandler<BannerAdInfoEvent>; } declare const _default: HostComponent<NativeProps>; export default _default; //# sourceMappingURL=AppodealBannerViewNativeComponent.d.ts.map