Create a boolean state variable to store the value of the checkbox. Set an onChange event listener on the input checkbox. In the listener, use ...
確定! 回上一頁