Comment appeler une fonction dans React avec les arguments onclick

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