This commit is contained in:
Ubuntu
2026-07-03 16:58:28 +08:00
commit 32b43f85bd
6240 changed files with 1987678 additions and 0 deletions
+21
View File
@@ -0,0 +1,21 @@
import React from "react";
import { cn } from "@/lib/utils";
export function Textarea({
type = "text",
placeholder = "Enter text...",
className = "",
...props
}) {
return (
<textarea
placeholder={placeholder}
rows={4}
className={cn(
"px-4 py-2 w-full border-2 rounded border-input shadow-md transition focus:outline-hidden focus:shadow-xs placeholder:text-muted-foreground",
className
)}
{...props}
/>
);
}