| import * as React from "react"; | |
| import { cn } from "@/shared/lib/cn"; | |
| const Textarea = React.forwardRef<HTMLTextAreaElement, React.ComponentProps<"textarea">>( | |
| ({ className, ...props }, ref) => ( | |
| <textarea | |
| ref={ref} | |
| className={cn( | |
| "flex min-h-24 w-full resize-y rounded-md border-0 bg-secondary/55 px-3 py-2 text-xs leading-5 transition-colors placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:cursor-not-allowed disabled:opacity-50", | |
| className, | |
| )} | |
| {...props} | |
| /> | |
| ), | |
| ); | |
| Textarea.displayName = "Textarea"; | |
| export { Textarea }; | |