react-native-paper
react-native-paper copied to clipboard
Bottom Tabs focused prop
Current behaviour
I want to change bottom tab label font family depends on focused prop, but when i choose any tab, i see each tab renders two times with - focused prop equals true and then equals false. So all of labels renders with the same focused variant of font family.
Expected behaviour
I can switch label font family depends on focused prop.
How to reproduce?
Preview
What have you tried so far?
Your Environment
| software | version |
|---|---|
| ios | 17.2 |
| android | 13 |
| react-native | 0.73.6 |
| react-native-paper | 5.12.3 |
| node | 20.5.0 |
| npm or yarn | 1.22.19 |
| expo sdk | - |