0
You can put normally in onClick
const log = () => {
alert('debug')
}
<button onClick="log()">LOG</button>
0
1
You can put normally in onClick
const log = () => {
alert('debug')
}
<button onClick="log()">LOG</button>
Browser other questions tagged function onclick arrow-functions
You are not signed in. Login or sign up in order to post.
thank you very much, it helped a lot.
– Victor Samir