refactor: Update ActivityIndicator size prop to "small" in Button component.
This commit is contained in:
@@ -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>
|
||||
)}
|
||||
|
||||
Reference in New Issue
Block a user