Question · React Native course · Module 1: Your first app

Quiz: Click event

What is the prop for handling a click in React Native called (instead of onClick)?

Answer options

  • onClick
  • onTap
  • onPress
  • onTouch
Show the answer

Correct answer:

  • onPress