Skip to content

Add selectedItemColor and unSelectedItemColor to TabStrip #8435

@vtrifonov

Description

@vtrifonov

As there are some cases in which it is too complex to support all the different ways of setting text and icon color to the TabStrip items on Bottom Navigation and Tabs components in Android in iOS we need to introduce selectedItemColor and unSelectedItemColor properties in TabStrip. If you set them the color set through CSS won't be respected and you won't be able to set different colors to icon and text in a single TabStrip item. However as it seems in Material Design Guidelines they should have the same color, so we recommend using these properties. You can set the properties like this:

  <Tabs>
    <TabStrip selectedItemColor="red" unSelectedItemColor="green">
  ...

Metadata

Metadata

Assignees

No one assigned

    Labels

    backlogfeatureready for testTSC needs to test this and confirm against live production apps and automated test suitestabs

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions