From 39e775a3768007df05ab91fe3ead39e36355b19a Mon Sep 17 00:00:00 2001 From: Samuel Newman Date: Thu, 7 Aug 2025 19:30:49 +0300 Subject: add border curve in neater way (#8792) --- src/components/Button.tsx | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'src/components/Button.tsx') diff --git a/src/components/Button.tsx b/src/components/Button.tsx index 4759b2a88..7904f5122 100644 --- a/src/components/Button.tsx +++ b/src/components/Button.tsx @@ -215,11 +215,7 @@ export const Button = React.forwardRef( ) const {baseStyles, hoverStyles} = React.useMemo(() => { - const baseStyles: ViewStyle[] = [ - { - borderCurve: 'continuous', - }, - ] + const baseStyles: ViewStyle[] = [] const hoverStyles: ViewStyle[] = [] /* @@ -559,6 +555,7 @@ export const Button = React.forwardRef( a.flex_row, a.align_center, a.justify_center, + a.curve_continuous, flattenedBaseStyles, ...(state.hovered || state.pressed ? [hoverStyles, flatten(hoverStyleProp)] -- cgit 1.4.1