Thu Jul 01 2021 10:40:31 GMT+0000 (Coordinated Universal Time)
Saved by @Sensei_p
import React from "react"; function App() { const [disable, setDisable] = React.useState(false); return ( <button disabled={disable} onClick={() => setDisable(true)}> Click me! </button> ); }
Copy this HTML code:
Preview:
open_in_newInstructions on embedding in Medium
Comments