Allow default PressableComponent override

This commit is contained in:
Eric Bailey
2024-10-02 20:51:36 -05:00
parent 086dde7028
commit 83d1c381f7
+1 -1
View File
@@ -117,7 +117,7 @@ export const Button = React.forwardRef<View, ButtonProps>(
disabled = false, disabled = false,
style, style,
hoverStyle: hoverStyleProp, hoverStyle: hoverStyleProp,
PressableComponent = Pressable, PressableComponent,
...rest ...rest
}, },
ref, ref,