i wanna access button value in react native, in pure javascript it look like :
const checkingStuff = (e) => console.log(e.target.value)
<button onclick={checkingStuff} > this is the value </button>.
how to achieve the same thing in react native?
edit : please answer in react native, not react js, because
<Button
onPress={checkingStuff}
title='lalala123'/>
give me 'undefined'.