You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Function to get the rendering mode for an image icon.
287
287
288
288
- Default: Uses `route.iconRenderingMode`
289
289
- Options: `'automatic' | 'alwaysOriginal'`
290
290
291
-
Use `alwaysOriginal` to preserve the original colors of multicolor image icons, such as logos or branded assets, instead of applying the native iOS tab tint.
291
+
Use `alwaysOriginal` to preserve the original colors of multicolor image icons, such as logos or branded assets, instead of applying the native tab tint.
Use `alwaysOriginal` to preserve the original colors of multicolor image icons, such as logos or branded assets, instead of applying the native iOS tab tint.
296
+
Use `alwaysOriginal` to preserve the original colors of multicolor image icons, such as logos or branded assets, instead of applying the native tab tint.
297
297
298
298
```tsx
299
299
<Tab.Screen
@@ -308,7 +308,7 @@ Use `alwaysOriginal` to preserve the original colors of multicolor image icons,
308
308
309
309
:::warning
310
310
311
-
Metro transformers that modify the import resolutions of images to something that is *not* React Native's `ImageSource` will break this. A notable community example of such is [react-native-svg-transformer](https://github.com/kristerkari/react-native-svg-transformer).
311
+
Metro transformers that modify the import resolutions of images to something that is _not_ React Native's `ImageSource` will break this. A notable community example of such is [react-native-svg-transformer](https://github.com/kristerkari/react-native-svg-transformer).
312
312
313
313
For best results, avoid the use of such transformers altogether.
0 commit comments