@azerion/bluestack-sdk-react-native
Version:
BlueStack SDK for React Native — banner, interstitial and rewarded ads for iOS and Android.
32 lines • 1.08 kB
TypeScript
import React from 'react';
import { StyleProp, ViewStyle } from 'react-native';
import type { BannerAdType } from './AdType';
interface NativeBannerViewProps {
placementId: string;
shouldLoadWhenReady: boolean;
preference: string | undefined;
adSize: string;
visible: boolean;
style: StyleProp<ViewStyle>;
onAdLoaded?: Function;
onAdFailedToLoad?: Function;
onAdRefreshed?: Function;
onAdFailedToRefresh?: Function;
onAdClicked?: Function;
}
interface BannerViewProps {
visible: boolean;
type: BannerAdType;
shouldLoadWhenReady: boolean;
placementId: string;
preference: string | undefined;
onBannerAdLoaded?: Function;
onBannerAdFailedToLoad?: Function;
onBannerAdRefreshed?: Function;
onBannerAdFailedToRefresh?: Function;
onBannerAdClicked?: Function;
}
export declare const BluestackModuleView: import("react-native").HostComponent<NativeBannerViewProps> | (() => never);
export declare const BannerModuleView: React.FC<BannerViewProps>;
export {};
//# sourceMappingURL=BannerViewManager.d.ts.map