Skip to content

Commit b374332

Browse files
committed
Update TabController inactive TabItem font weight
1 parent 7e5ec2e commit b374332

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/incubator/TabController/TabBarItem.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ export default class TabBarItem extends PureComponent {
155155
getLabelStyle() {
156156
const {itemWidth} = this.state;
157157
const {index, currentPage, labelColor, selectedLabelColor, labelStyle, ignore} = this.props;
158-
const fontWeight = cond(and(eq(currentPage, index), defined(itemWidth)), '700', '300');
158+
const fontWeight = cond(and(eq(currentPage, index), defined(itemWidth)), '700', '400');
159159
const activeColor = selectedLabelColor || DEFAULT_SELECTED_LABEL_COLOR;
160160
const inactiveColor = labelColor || DEFAULT_LABEL_COLOR;
161161
const color = cond(eq(currentPage, index),

0 commit comments

Comments
 (0)