Finally, add an onClick prop to the <button> element that will set the disable state to true . The full code is as shown below: import React ...
確定! 回上一頁