React-native-tab-view: labelStyle props not works in version 3.0.0

Created on 12 Mar 2021  路  3Comments  路  Source: satya164/react-native-tab-view

Current behaviour

labelStyle props not works in version 3.0.0, but worked correct in previous version

Expected behaviour

Code sample

For Syntax Highlighting check this link

Screenshots (if applicable)

What have you tried

Your Environment

| software | version
| ---------------------------- | -------
| ios or android | both
| expo |
| react-native | 0.63.4
| react-native-tab-view | 3.0.0
| react-native-pager-view | 5.1.0
| node | 15.11.0
| npm or yarn |

bug

Most helpful comment

I used labelStyle for set label color, but now i see for it uses separate props activeColor and inactiveColor.
I replaced set color to these props. Problem resolved.

All 3 comments

Couldn't find version numbers for the following packages in the issue:

  • react-native
  • react-native-tab-view
  • react-native-pager-view
  • expo

Can you update the issue to include version numbers for those packages? The version numbers must match the format 1.2.3.

I used labelStyle for set label color, but now i see for it uses separate props activeColor and inactiveColor.
I replaced set color to these props. Problem resolved.

Thank you @lubomyr :) It worked for me...

Was this page helpful?
0 / 5 - 0 ratings

Related issues

itzsaga picture itzsaga  路  3Comments

moerabaya picture moerabaya  路  4Comments

karthikeyansundaram2 picture karthikeyansundaram2  路  3Comments

ahmedrowaihi picture ahmedrowaihi  路  3Comments

f6m6 picture f6m6  路  3Comments