问题
Using a custom drawer navigator in React Native, how do I highlight the current screen name? Is there a prop that is supposed to be passed? For example in the image, I am on the "Home" screen. How do I know the screen I am on to change the text colour of home, for example.
来源:https://stackoverflow.com/questions/51349440/how-do-i-highlight-the-current-tab-using-a-custom-drawer-navigator-in-react-nati