This app should take user input from a text field and output that text to the screen in realtime. Also add a button to clear the text input. Please write your code in UserInput.js file. Below is some example HTML syntax for input and button tags.
<input type='text' value={?} onChange={?} />
<button type='button' onClick={?} />
- Fork and clone repo.
npm i
oryarn
in root to install dependencesnpm start
oryarn start
to run dev server