UNPKG

@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

34 lines (33 loc) 1.12 kB
import React from 'react'; import { StyleProp, ViewStyle } from 'react-native'; import type { BannerAdType } from './AdType'; interface NativeBannerViewProps { shouldLoadNow: boolean; placementId: string; shouldLoadWhenReady: boolean; preference: string | undefined; style: StyleProp<ViewStyle>; onAdLoaded?: Function; onAdFailedToLoad?: Function; onAdRefreshed?: Function; onAdFailedToRefresh?: Function; onAdClicked?: Function; onAdLoadCalled?: Function; } interface BannerViewProps { shouldLoadNow: boolean; visible: boolean; type: BannerAdType; shouldLoadWhenReady: boolean; placementId: string; preference: string | undefined; onBannerAdLoaded?: Function; onBannerAdFailedToLoad?: Function; onBannerAdRefreshed?: Function; onBannerAdFailedToRefresh?: Function; onBannerAdClicked?: Function; onBannerAdLoadCalled?: Function; } export declare const BluestackModuleView: import("react-native").HostComponent<NativeBannerViewProps> | (() => never); export declare const BannerModuleView: React.FC<BannerViewProps>; export {};