CoolFace
Apppublic

Leon4gr45/builder

sourceHugging Facemitupdated 2d agoView on Hugging Face
0likes
textarea.tsx22 linesDownload Raw Back to ui
1import * as React from "react"2 3import { cn } from "@/lib/utils"4 5const Textarea = React.forwardRef<6  HTMLTextAreaElement,7  React.ComponentProps<"textarea">8>(({ className, ...props }, ref) => {9  return (10    <textarea11      className={cn(12        "flex min-h-[84px] w-full rounded-md border border-input bg-background px-3 py-2 text-base ring-offset-background placeholder:text-muted-foreground disabled:cursor-not-allowed disabled:opacity-50 md:text-sm",13        className14      )}15      ref={ref}16      {...props}17    />18  )19})20Textarea.displayName = "Textarea"21 22export { Textarea }