'How to use accessibilityState in react native bottom tab

I have code like this. how can I use accessibilityState in it please guide

Home: {
    screen: CategoryStackNavigator,

    navigationOptions: {
      tabBarLabel: ({focused}) => (
        <Text style={{fontSize: 15, color: focused ? '#0A7D8A' : 'black'}}>
          Home
        </Text>
      ),
      tabBarIcon: (tabInfo) => {
        return <Icon name="home" size={25} color={tabInfo.tintColor} />;
      },

      tabBarOptions: {
        activeTintColor: '#0A7D8A',
        inactiveTintColor: 'black',
        color: 'black',
      },
    },
  },

Please ignore it I have code like this. how can I use accessibilityState in it please guide. I have code like this. how can I use accessibilityState in it please guide. I have code like this. how can I use accessibilityState in it please guide



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source