feat(ui): replace TouchableOpacity with Pressable for improved ripple effect and add color customization, android focus effect

This commit is contained in:
James Chen
2025-08-27 17:22:11 +08:00
parent a53dde92eb
commit 4c93736c5e
3 changed files with 13 additions and 5 deletions

View File

@@ -108,6 +108,7 @@ export const StyledButton = forwardRef<View, StyledButtonProps>(
return (
<Animated.View style={[animationStyle, style]}>
<Pressable
android_ripple={{ color: Colors.dark.link, borderless: false }}
ref={ref}
onFocus={() => setIsFocused(true)}
onBlur={() => setIsFocused(false)}