File tree Expand file tree Collapse file tree 1 file changed +2
-5
lines changed
examples/SampleApp/src/components Expand file tree Collapse file tree 1 file changed +2
-5
lines changed Original file line number Diff line number Diff line change @@ -102,18 +102,15 @@ export const ConfirmationBottomSheet: React.FC = () => {
102102 >
103103 { /* using onPressOut instead of onPress works with touchables inside absolutely positioned parents and gives the same opacity feedback */ }
104104 < TouchableOpacity
105- onPressOut = { ( ) => {
105+ onPress = { ( ) => {
106106 setOverlay ( 'none' ) ;
107107 reset ( ) ;
108108 } }
109109 style = { styles . actionButtonLeft }
110110 >
111111 < Text style = { { color : grey } } > { cancelText } </ Text >
112112 </ TouchableOpacity >
113- < TouchableOpacity
114- onPressOut = { onConfirm }
115- style = { styles . actionButtonRight }
116- >
113+ < TouchableOpacity onPress = { onConfirm } style = { styles . actionButtonRight } >
117114 < Text style = { { color : accent_red } } > { confirmText } </ Text >
118115 </ TouchableOpacity >
119116 </ View >
You can’t perform that action at this time.
0 commit comments