diff --git a/index.d.ts b/index.d.ts index bcc36d2c..f83a8b5e 100644 --- a/index.d.ts +++ b/index.d.ts @@ -127,6 +127,7 @@ type NestedTextProps = { style?: ViewStyle; textStyle?: TextStyle; allCaps?: boolean; + allowFontScaling?: boolean; }; declare module "react-native-admob-native-ads" { diff --git a/src/CallToActionView.js b/src/CallToActionView.js index bdfadf6f..5a56cdf5 100644 --- a/src/CallToActionView.js +++ b/src/CallToActionView.js @@ -37,7 +37,7 @@ const CallToActionView = (props) => { props.style, ]} > - + {nativeAd ? props.allCaps ? nativeAd.callToAction?.toUpperCase()