how buttons work in react native code example
Example: react native button
<Button
title="Press button"
onPress={() => {function}} //change "function" with your function for the button pressing
/>
<Button
title="Press button"
onPress={() => {function}} //change "function" with your function for the button pressing
/>