From 1f09ec75471fefd9435ff9e0301d1c8bbd4338c1 Mon Sep 17 00:00:00 2001 From: Mark Wilcox Date: Fri, 20 Dec 2024 17:58:38 +0000 Subject: [PATCH] Update RNGoogleMobileAdsExample/App.tsx Co-authored-by: Dylan --- RNGoogleMobileAdsExample/App.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/RNGoogleMobileAdsExample/App.tsx b/RNGoogleMobileAdsExample/App.tsx index 4263e443..dcefbdac 100644 --- a/RNGoogleMobileAdsExample/App.tsx +++ b/RNGoogleMobileAdsExample/App.tsx @@ -184,7 +184,8 @@ class InterstitialTest implements Test { class BannerTest implements Test { bannerAdSize: BannerAdSize | string; - maxHeight: number | undefined; + maxHeight?: number; + constructor(bannerAdSize, maxHeight: number | undefined = undefined) { this.bannerAdSize = bannerAdSize; this.bannerRef = React.createRef();