upd: pressout jadi press

This commit is contained in:
amel
2025-03-13 11:58:02 +08:00
parent 99b7fb656f
commit 5e94c60a2f
7 changed files with 7 additions and 7 deletions

View File

@@ -25,7 +25,7 @@ export default function BorderBottomItem({ title, subtitle, icon, desc, onPress,
const lebar = width ? lebarDim * width / 100 : 'auto';
return (
<Pressable style={[borderType == 'bottom' ? Styles.wrapItemBorderBottom : borderType == 'all' ? Styles.wrapItemBorderAll : Styles.wrapItemBorderNone, bgColor && bgColor == 'white' && ColorsStatus.white]} onPressOut={onPress}>
<Pressable style={[borderType == 'bottom' ? Styles.wrapItemBorderBottom : borderType == 'all' ? Styles.wrapItemBorderAll : Styles.wrapItemBorderNone, bgColor && bgColor == 'white' && ColorsStatus.white]} onPress={onPress}>
<View style={[Styles.rowItemsCenter]}>
{icon}
<View style={[Styles.rowSpaceBetween, width ? { width: lebar } : { width: '88%' }]}>