We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 68097bd commit 7fa6fd4Copy full SHA for 7fa6fd4
components/retroui/Textarea.tsx
@@ -1,4 +1,5 @@
1
import React from "react";
2
+import { cn } from "@/lib/utils";
3
4
export function Textarea({
5
type = "text",
@@ -10,7 +11,10 @@ export function Textarea({
10
11
<textarea
12
placeholder={placeholder}
13
rows={4}
- className={`px-4 py-2 w-full border-2 border-black shadow-md transition focus:outline-hidden focus:shadow-xs ${className}`}
14
+ className={cn(
15
+ "px-4 py-2 w-full border-2 border-border shadow-md transition focus:outline-hidden focus:shadow-xs placeholder:text-muted-foreground",
16
+ className
17
+ )}
18
{...props}
19
/>
20
);
0 commit comments