Recommended Solution:
{
function1();
function2();
}}>
You can use these props:
onPress
Called when the touch is released
onPressIn
Called as soon as the touchable element is pressed and invoked before onPress
.
{
function1();
}}
onPressIn={() => {
function2();
}}
>