I want to read the onClick event value properties. But when I click on it, I see something like this on the console:
SyntheticMouseEvent {dispatchConfig: Ob
Coming out of nowhere to this question, but i think .bind will do the trick. Find the sample code below.
.bind
const handleClick = (data) => { console.log(data) } Login