DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR JAVASCRIPT
how to call a function in react with arguments onclick
<button onClick={() => sayHello('James')}>Greet</button>
PREVIOUS
NEXT
Tagged:
#call
#function
#react
#arguments
#onclick
ADD COMMENT
Topic
COMMENT
Name
4+1 =
Submit