Knowledge check: Dynamic events and how to handle them - React Basic
What code should be added to the element button to make this code snippet valid?
function App() {
function handleClick() {
console.log("clicked")
}
return (
<div className="App">
<button >Click me</button>
</div>
...