React Native Navigation Tabbarbutton jest skupiony

<Tab.Screen
  name="Messages"
  component={Messages}
  options={({ route }) => ({
    tabBarButton: () => <TabButton
      onPress={() => setActiveTab(route.name)}
      active={activeTab === route.name}
    />
})}
florinrelea