import type { ComponentProps } from "react";
import { cn } from "@/lib/utils";
function Textarea({ className, ...props }: ComponentProps<"textarea">) {
return (
<textarea
className={cn(
"flex min-h-20 w-full resize-none rounded-md border border-input bg-transparent px-3 py-2 text-sm outline-none placeholder:text-muted-foreground focus-visible:border-ring focus-visible:ring-3 focus-visible:ring-ring/50 disabled:cursor-not-allowed disabled:opacity-50",
className,
)}
{...props}
/>
);
}
export { Textarea };