Skip to content
Snippets Groups Projects
Commit 58290dce authored by Felipe D'Abrantes's avatar Felipe D'Abrantes
Browse files

Add a placeholder for the question input

parent d2c1e3ed
No related branches found
No related tags found
1 merge request!25Add a question management page
...@@ -43,6 +43,7 @@ const NewQuestionForm: FC<NewQuestionFormProps> = ({ ...@@ -43,6 +43,7 @@ const NewQuestionForm: FC<NewQuestionFormProps> = ({
type="text" type="text"
name="new-question" name="new-question"
id="new-question" id="new-question"
placeholder="A new exciting question..."
className="block w-1/2 rounded-md border-0 py-1.5 text-gray-900 shadow-sm ring-1 ring-inset ring-gray-300 placeholder:text-gray-400 focus:ring-2 focus:ring-inset focus:ring-indigo-600 sm:text-sm sm:leading-6" className="block w-1/2 rounded-md border-0 py-1.5 text-gray-900 shadow-sm ring-1 ring-inset ring-gray-300 placeholder:text-gray-400 focus:ring-2 focus:ring-inset focus:ring-indigo-600 sm:text-sm sm:leading-6"
value={newQuestion} value={newQuestion}
onChange={(e) => setNewQuestion(e.target.value)} onChange={(e) => setNewQuestion(e.target.value)}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment