OnClick Inline Função React
//Inline onclick function
<button onClick={(e) => console.log(e)}>
Click me
</button>
Yellowed Yak
//Inline onclick function
<button onClick={(e) => console.log(e)}>
Click me
</button>