event target react native functional component code example Example: react button onclick <button onClick={sayHello}>Click</button>