Answers for "react onclick div"

0

react onclick div

const test = () => {
const onClick = () => console.log('hi');

return (
<div onClick={onClick} aria-hidden="true">
  Content here
</div>
)};
Posted by: Guest on August-24-2021

Code answers related to "Javascript"

Browse Popular Code Answers by Language