Как выбрать первую вкладку в верхней панели навигации в React Native при возврате из другого менюAndroid

Форум для тех, кто программирует под Android
Anonymous
Как выбрать первую вкладку в верхней панели навигации в React Native при возврате из другого меню

Сообщение Anonymous »

function TopTabroup(props){
const { InitialRouteName } = props;
return (






)

function TabGroup (){
return(

(

),
}}
/>
(

),
}}/>
(

),
}} />

options={{
tabBarLabel: 'MENU',
tabBarIcon: ({ color, size } ) => (

),
}}/>

)

экспортировать класс по умолчанию. Home расширяет компонент {
render() {
return (







)

}


when I run the application and enter another page and return to the home page, the top tab navigation does not return to the first tab, but remains on the tab that was selected...I use react-native not expo


Подробнее здесь: https://stackoverflow.com/questions/785 ... n-returnin

Вернуться в «Android»