react-native-paper
react-native-paper copied to clipboard
fix(bottomNavigation): fix bottom navigation to allow unselected state
trafficstars
Motivation
PR to allow BottomNavigation component to have an unselected state. Material design supports unselected state https://m2.material.io/components/bottom-navigation#states
Related issue
#4651
Test plan
Added a couple of tests Tested in examples and added a new menu item for this behaviour in examples.
Hey @danHayworth, thank you for your pull request 🤗. The documentation from this branch can be viewed here.