{ "$schema": "https://ui.shadcn.com/schema/registry-item.json", "name": "textarea", "title": "Textarea", "description": "Polaris-styled Textarea component.", "dependencies": [], "devDependencies": [ "@shopify/polaris-types" ], "registryDependencies": [ "@polaris-shadcn/theme", "@polaris-shadcn/utils" ], "files": [ { "path": "registry/templates/components/ui/textarea.tsx", "content": "import * as React from \"react\";\nimport { cn } from \"../../lib/utils\";\n\ntype STextAreaProps = React.ComponentPropsWithoutRef<\"s-text-area\">;\n\nexport interface TextareaProps extends STextAreaProps {\n className?: string;\n}\n\nconst Textarea = React.forwardRef<\n HTMLElementTagNameMap[\"s-text-area\"],\n TextareaProps\n>(({ className, label = \"Notes\", ...props }, ref) => (\n \n));\nTextarea.displayName = \"Textarea\";\n\nexport { Textarea };\n", "type": "registry:ui" } ], "type": "registry:ui" }