@beletsky/react-native-yandex-ads
Version:
24 lines • 895 B
TypeScript
import { FC } from 'react';
import type { AdBannerType } from '../resources';
declare type Props = {
adUnitId: string;
size?: AdBannerType;
/** only IOS */
place?: 'top' | 'botttom';
customSize?: {
width: number;
height: number;
};
requestParams?: Record<string, string>;
onDidLoad?: (adUnitID?: string | null) => void;
onClick?: (adUnitID: string | null) => void;
onDidTrackImpression?: (adUnitID: string | null, data?: string) => void;
onDidFailLoading?: (adUnitID: string | null, error?: string) => void;
onWillLeaveApp?: (adUnitID: string | null) => void;
onWillPresent?: (adUnitID: string | null) => void;
onDidDismiss?: (adUnitID: string | null) => void;
onDidReturnedToApplication?: (adUnitID: string | null) => void;
};
declare const Banner: FC<Props>;
export default Banner;
//# sourceMappingURL=index.d.ts.map