React Native Navigation Tabbarbutton est focalisé
<Tab.Screen
name="Messages"
component={Messages}
options={({ route }) => ({
tabBarButton: () => <TabButton
onPress={() => setActiveTab(route.name)}
active={activeTab === route.name}
/>
})}
florinrelea