import { cn } from "@/lib/utils"; import { Textarea } from "../textarea"; import { Label } from "../label"; import { useId } from "react"; interface TextAreaInputProps extends React.ComponentProps { label?: string; containerProps?: React.ComponentProps<"div">; } function TextAreaInput({ className, label, containerProps, ...props }: TextAreaInputProps) { const id = useId(); const textareaId = props.id || id; return (
{label && ( )}