Update icon size and gap

This commit is contained in:
Eric Bailey
2025-08-06 15:24:26 -05:00
parent a453c8d80b
commit 780a17778d
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -437,7 +437,7 @@ export const Button = React.forwardRef<View, ButtonProps>(
paddingVertical: 14, paddingVertical: 14,
paddingHorizontal: 24, paddingHorizontal: 24,
borderRadius: 10, borderRadius: 10,
gap: 5, gap: 4,
}) })
} else if (size === 'small') { } else if (size === 'small') {
baseStyles.push({ baseStyles.push({
@@ -748,7 +748,7 @@ export function ButtonIcon({
const iconSizeShorthand = const iconSizeShorthand =
size ?? size ??
(({ (({
large: 'md', large: 'sm',
small: 'sm', small: 'sm',
tiny: 'xs', tiny: 'xs',
}[buttonSize || 'small'] || 'sm') as Exclude< }[buttonSize || 'small'] || 'sm') as Exclude<
+1 -1
View File
@@ -87,6 +87,7 @@ function StorybookInner() {
</Button> </Button>
</View> </View>
<Buttons />
<Toasts /> <Toasts />
<Button <Button
@@ -109,7 +110,6 @@ function StorybookInner() {
</ThemeProvider> </ThemeProvider>
<Forms /> <Forms />
<Buttons />
<Typography /> <Typography />
<Spacing /> <Spacing />
<Shadows /> <Shadows />