From d9877f4bcd81fcd68dd89fff17565c6501ae5aad Mon Sep 17 00:00:00 2001 From: sieu-db Date: Tue, 29 Oct 2024 17:50:40 +0700 Subject: [PATCH] add active opacity to action sheet item --- packages/core/src/components/ActionSheet/ActionSheetItem.tsx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/packages/core/src/components/ActionSheet/ActionSheetItem.tsx b/packages/core/src/components/ActionSheet/ActionSheetItem.tsx index 7ff4c27d8..170fa51a6 100644 --- a/packages/core/src/components/ActionSheet/ActionSheetItem.tsx +++ b/packages/core/src/components/ActionSheet/ActionSheetItem.tsx @@ -14,6 +14,7 @@ type Props = { color: string; style?: StyleProp; onPress?: () => void; + activeOpacity?: number; }; const ActionSheetItem: React.FC> = ({ @@ -21,11 +22,12 @@ const ActionSheetItem: React.FC> = ({ style, color, onPress, + activeOpacity = 0.7, }) => { const { textStyles, viewStyles } = extractStyles(style); return (