Can you try using a ternary operator like:
style={route.name == 'index' ? styles.tabbarIndex : styles.tabbarItems}