{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "textarea",
  "title": "Textarea",
  "description": "A multi-line text field.",
  "registryDependencies": [
    "https://creance.pages.dev/r/creance-base.json",
    "https://creance.pages.dev/r/input.json"
  ],
  "files": [
    {
      "path": "textarea/Textarea.tsx",
      "content": "import { forwardRef, type TextareaHTMLAttributes } from 'react';\nimport { cx } from '@/lib/creance/cx';\nimport '@/components/creance/input/Input.css';\n\nexport type TextareaProps = TextareaHTMLAttributes<HTMLTextAreaElement>;\n\n/** A multi-line text field. Resizes vertically. */\nexport const Textarea = forwardRef<HTMLTextAreaElement, TextareaProps>(function Textarea(\n  { rows = 4, className, ...props },\n  ref,\n) {\n  return <textarea ref={ref} rows={rows} className={cx('cr-input', className)} {...props} />;\n});\n",
      "type": "registry:ui",
      "target": "@components/creance/textarea/Textarea.tsx"
    }
  ],
  "categories": [
    "atom",
    "forms"
  ],
  "type": "registry:ui"
}