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
Мобильная версия