Your task is to create a component where a user can see a question and an input to write text for the answer.
Don't forget to add a clear button that clears the input in case the user changed his mind
You will need to write the code in the <OpenText /> component in the components folder, to see the component run the app and go to http://localhost:3000/survey/test/text-question
Your task is to create a component where a user can see a question and an input to write text for the answer. Don't forget to add a
clear
button that clears the input in case the user changed his mindYou will need to write the code in the
<OpenText />
component in the components folder, to see the component run the app and go tohttp://localhost:3000/survey/test/text-question
Input value must be saved in a react state