lark-cms
Version:
Multi terminal CMS component library
29 lines (26 loc) • 738 B
TypeScript
import React from "react";
type propsDefined = {
navigation?: any;
route?: any;
style?: any;
ImageHeight?: number;
customAdData?: Array<any>;
adImageResize?: string;
};
/**
// 示例:替换AdBanner组件
import { BannerAd, BannerAdSize } from 'react-native-google-mobile-ads';
const AdBanner = () => {
return (
<BannerAd
unitId={Platform.select({
android: 'ca-app-pub-xxx/xxx',
ios: 'ca-app-pub-xxx/xxx',
})}
size={BannerAdSize.BANNER}
/>
);
};
*/
declare const YhwAdRandomRN: ({ navigation, route, style, ImageHeight, customAdData, adImageResize, }: propsDefined) => React.JSX.Element;
export default YhwAdRandomRN;