From 8d2f4a01cf2d4f4baa5915fd03d8fc770cb36060 Mon Sep 17 00:00:00 2001 From: Rohan-cp Date: Fri, 26 Apr 2024 18:07:20 -0400 Subject: [PATCH] base --- apps/mobile/src/components/GalleryTouchableOpacity.tsx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/apps/mobile/src/components/GalleryTouchableOpacity.tsx b/apps/mobile/src/components/GalleryTouchableOpacity.tsx index b63e9016d7..c8f8a8f335 100644 --- a/apps/mobile/src/components/GalleryTouchableOpacity.tsx +++ b/apps/mobile/src/components/GalleryTouchableOpacity.tsx @@ -13,6 +13,7 @@ import { GalleryElementTrackingProps, useTrack } from '~/shared/contexts/Analyti export type GalleryTouchableOpacityProps = { withoutFeedback?: boolean; + activeOpacity?: number; } & GalleryElementTrackingProps & TouchableOpacityProps; @@ -25,6 +26,7 @@ export function GalleryTouchableOpacity({ onPress, properties, withoutFeedback, + activeOpacity = 0.2, ...props }: GalleryTouchableOpacityProps) { const track = useTrack(); @@ -62,7 +64,7 @@ export function GalleryTouchableOpacity({ } return ( - + {children} );