So adding an onClick event is easy. class App extends React.Component { handleClick = () => console.log('Hi there'); render() { return <button onClick={this ...
確定! 回上一頁