From 58290dce49eb3bfe8bec377359233c27df5df128 Mon Sep 17 00:00:00 2001 From: Felipe D'Abrantes <felidabrantes@gmail> Date: Fri, 21 Apr 2023 21:55:54 +0100 Subject: [PATCH] Add a placeholder for the question input --- .../src/components/questions/NewQuestionForm.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/daily-thought-frontend/src/components/questions/NewQuestionForm.tsx b/daily-thought-frontend/src/components/questions/NewQuestionForm.tsx index 495fc917..faf0b9e2 100644 --- a/daily-thought-frontend/src/components/questions/NewQuestionForm.tsx +++ b/daily-thought-frontend/src/components/questions/NewQuestionForm.tsx @@ -43,6 +43,7 @@ const NewQuestionForm: FC<NewQuestionFormProps> = ({ type="text" name="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" value={newQuestion} onChange={(e) => setNewQuestion(e.target.value)} -- GitLab