@azerion/bluestack-sdk-react-native
Version:
BlueStack provides functionalities for monetizing your mobile application: from premium sales with rich media, video and innovative formats, it facilitates inserting native mobile ads as well all standard display formats. BlueStack SDK is a library that a
32 lines (31 loc) • 1.04 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 {};