mirror of
https://github.com/aljazceru/sendstr-web.git
synced 2025-12-18 23:14:23 +01:00
feat: add textarea placeholder
This commit is contained in:
@@ -17,9 +17,10 @@ const Message = ({ message, onChange }: MessageProps) => {
|
|||||||
<section className="p-4">
|
<section className="p-4">
|
||||||
<div className="border-0">
|
<div className="border-0">
|
||||||
<textarea
|
<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}
|
value={message}
|
||||||
onChange={(e) => onChange(e.currentTarget.value || "")}
|
onChange={(e) => onChange(e.currentTarget.value || "")}
|
||||||
|
placeholder="Start typing here..."
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
</section>
|
</section>
|
||||||
|
|||||||
@@ -22,9 +22,10 @@ const Message = ({ message, onChange }: MessageProps) => {
|
|||||||
<section className="p-4">
|
<section className="p-4">
|
||||||
<div className="border-0">
|
<div className="border-0">
|
||||||
<textarea
|
<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}
|
value={message}
|
||||||
onChange={(e) => onChange(e.currentTarget.value || "")}
|
onChange={(e) => onChange(e.currentTarget.value || "")}
|
||||||
|
placeholder="Start typing here..."
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
</section>
|
</section>
|
||||||
|
|||||||
Reference in New Issue
Block a user