Skip to content

Commit 65536f1

Browse files
committed
NavButton: Use standard icon size of 24, instead of using 26.
Like we did in 2e5ff37. As mentioned there: """ As Greg points out [1], 24px seems to be the standard size for most icon buttons in Material Design [2] [3] [4]. [1] #4442 (comment) [2] https://material.io/components/bottom-navigation#specs [3] https://material.io/components/app-bars-bottom#specs [4] https://material.io/design/iconography/system-icons.html#grid-and-keyline-shapes """
1 parent e8571d2 commit 65536f1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/nav/NavButton.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ export default class NavButton extends PureComponent<Props> {
3131

3232
return (
3333
<NavButtonGeneral onPress={onPress} accessibilityLabel={accessibilityLabel}>
34-
<Icon size={26} style={[this.styles.navButtonIcon, style]} color={color} name={name} />
34+
<Icon size={24} style={[this.styles.navButtonIcon, style]} color={color} name={name} />
3535
</NavButtonGeneral>
3636
);
3737
}

0 commit comments

Comments
 (0)