refactor: Update ActivityIndicator size prop to "small" in Button component.

This commit is contained in:
2026-03-18 12:33:10 +00:00
parent 13e0acd27d
commit fcb7052bbd

View File

@@ -36,7 +36,7 @@ export const Button = ({ children, onPress, variant = 'solid', size = 'md', disa
activeOpacity={0.7}
>
{loading ? (
<ActivityIndicator size={20} color={variant === 'solid' ? '#fff' : '#6366f1'} />
<ActivityIndicator size="small" color={variant === 'solid' ? '#fff' : '#6366f1'} />
) : (
<Text style={textStyles}>{children}</Text>
)}