Skip to content

Commit

Permalink
Use 8 as icon margin for buttons
Browse files Browse the repository at this point in the history
  • Loading branch information
ShridharGoel authored Oct 21, 2024
1 parent 10c5dfb commit 20d4686
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/Button/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -290,7 +290,7 @@ function Button(
<View style={[isContentCentered ? styles.justifyContentCenter : styles.justifyContentBetween, styles.flexRow]}>
<View style={[styles.alignItemsCenter, styles.flexRow, styles.flexShrink1]}>
{icon && (
<View style={[large ? styles.mr2 : styles.mr1, !text && styles.mr0, iconStyles]}>
<View style={[styles.mr2, !text && styles.mr0, iconStyles]}>
<Icon
src={icon}
hasText={!!text}
Expand Down

0 comments on commit 20d4686

Please sign in to comment.