mirror of
https://github.com/zimplexing/OrionTV.git
synced 2026-02-24 04:04:40 +08:00
feat(ui): replace TouchableOpacity with Pressable for improved ripple effect and add color customization, android focus effect
This commit is contained in:
@@ -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)}
|
||||
|
||||
Reference in New Issue
Block a user