a
This commit is contained in:
@@ -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}
|
||||
/>
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user