Last active
July 18, 2022 15:57
-
-
Save Yamo93/34ea079c686c139bf34c9aa1ab6cf406 to your computer and use it in GitHub Desktop.
Window component
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function Window () { | |
const [text, setText] = useState(''); | |
return <div> | |
<label>Text:</label> | |
<input type="text" value={text} onChange={(e) => setText(e.target.value)} /> | |
<button>Save</button> | |
</div>; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment