feat: add textarea placeholder

This commit is contained in:
vilm3r
2022-12-18 18:07:15 -06:00
parent 0e58fd2661
commit 599340a53d
2 changed files with 4 additions and 2 deletions

View File

@@ -17,9 +17,10 @@ const Message = ({ message, onChange }: MessageProps) => {
<section className="p-4">
<div className="border-0">
<textarea
className="bg-custom-green-dark border-2 border-custom-black rounded w-full min-h-[100px] max-h-[700px]"
className="bg-custom-green-dark border-2 border-custom-black rounded w-full min-h-[100px] max-h-[700px] placeholder-gray-50 p-1"
value={message}
onChange={(e) => onChange(e.currentTarget.value || "")}
placeholder="Start typing here..."
/>
</div>
</section>

View File

@@ -22,9 +22,10 @@ const Message = ({ message, onChange }: MessageProps) => {
<section className="p-4">
<div className="border-0">
<textarea
className="bg-custom-green-dark border-2 border-custom-black rounded w-full min-h-[100px] max-h-[700px]"
className="bg-custom-green-dark border-2 border-custom-black rounded w-full min-h-[100px] max-h-[700px] placeholder-gray-50 p-1"
value={message}
onChange={(e) => onChange(e.currentTarget.value || "")}
placeholder="Start typing here..."
/>
</div>
</section>