Closed huy-lv closed 6 years ago
There's no API via a ref. You can use the Bottom Navigation as controlled component to change the active tab programatically: https://github.com/timomeh/react-native-material-bottom-navigation/blob/master/docs/Usage.md#controlled-component
Executing methods on a component via a ref is a bit of an antipattern in React.
Hello, your project is awesome, but i have a question, is there anyway to change tab programmatically. Code should be like this