[fix] Patch internal sources of deprecation warnings

This commit is contained in:
Nicolas Gallagher
2023-03-27 14:05:51 -07:00
parent 75920f3695
commit 876079a56f
17 changed files with 67 additions and 69 deletions
@@ -50,7 +50,7 @@ The `useLocaleContext` API can be used for fine-grained control of layout, e.g.,
const { direction, locale } = useLocaleContext();
const isRTL = direction === 'rtl';
const style = { transform: [{ scaleX: isRTL ? -1 : 1 }] };
const style = { scaleX: isRTL ? -1 : 1 };
<Image source={'forward.svg'} style={style} />
<Image source={isRTL ? 'back.svg' : 'forward.svg'} />