OnClick Inline Função React

//Inline onclick function
<button onClick={(e) => console.log(e)}>
        Click me
</button>
Yellowed Yak