How to determine mouse events in React Native (mobile)?
I need to use a callback function for the mouse click event. Below code is working in React web app: const checkAnswer = (e: React.MouseEvent<HTMLButtonElement>) => { const answer = e.currentTarget.value // here .value property is undefined and gives error…