Skip to content

Commit

Permalink
fix: ignore textTransform uppercase label of TabView (#799)
Browse files Browse the repository at this point in the history
* fix: ignore textTransform uppercase of label

* chore: reverse the order of label style

---------

Co-authored-by: Sieu Thai <[email protected]>
  • Loading branch information
2 people authored and YoussefHenna committed Oct 4, 2023
1 parent c44a0bc commit db694db
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/core/src/components/TabView/TabView.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ const TabViewComponent: React.FC<React.PropsWithChildren<TabViewProps>> = ({
indicatorStyle={{
backgroundColor: indicatorColor || theme.colors.primary,
}}
labelStyle={textStyles}
labelStyle={[{ textTransform: "none" }, textStyles]}
renderIcon={({ route, color }) =>
route?.icon ? (
<Icon name={route.icon} color={color} size={iconSize} />
Expand Down

0 comments on commit db694db

Please sign in to comment.