Como chamar uma função em reagir com argumentos ONCLICK

<button onClick={() => sayHello('James')}>Greet</button>
Tanishq Vyas