import * as React from 'react'; import type { VariantProps } from '@/lib/cva'; import { cn } from '@/lib/utils'; import { inputVariants } from '@/components/input'; export interface TextareaProps extends Omit, 'size'>, VariantProps {} /** * Multi-line text field. Grows with its content via `field-sizing-content`, * so no auto-resize JavaScript is needed. * * Shares Input's variants and size ladder, since CBAR draws the two the same * way. The named size sets the *minimum* height — the field grows past it. */ function Textarea({ className, variant, size, ...props }: TextareaProps) { return (