Commit 163e6ee
committed
fix: type TabBarIcon color as ColorValue
Expo Router's Tabs on SDK 56 passes ColorValue to tabBarIcon, which
broke typechecking of generated tabs projects against the base
TabBarIcon's color: string prop. Align it with the NativewindUI
TabBarIcon, which already made this change for SDK 56;
@expo/vector-icons accepts string | OpaqueColorValue so ColorValue fits
both Expo Router and React Navigation callers.1 parent 7d87e4b commit 163e6ee
1 file changed
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
| 2 | + | |
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | | - | |
| 6 | + | |
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
| |||
0 commit comments