mirror of
https://github.com/hanzoai/shadcn.git
synced 2026-11-03 03:18:52 +00:00
- Updated build-registry.mts to include all component types (ui, ai, 3d, animation, code, etc.) - Fixed missing components issue by processing all components that start with 'components:' - Now properly handles components that only exist in one theme variant - Registry now contains 363 components (up from 117) - AI, 3D, animation, and code components are now accessible via the registry
14 lines
562 B
JSON
14 lines
562 B
JSON
{
|
|
"name": "textarea-with-button",
|
|
"registryDependencies": [
|
|
"textarea",
|
|
"button"
|
|
],
|
|
"files": [
|
|
{
|
|
"name": "textarea-with-button.tsx",
|
|
"content": "import { Button } from \"@/registry/default/ui/button\"\nimport { Textarea } from \"@/registry/default/ui/textarea\"\n\nexport default function TextareaWithButton() {\n return (\n <div className=\"grid w-full gap-2\">\n <Textarea placeholder=\"Type your message here.\" />\n <Button>Send message</Button>\n </div>\n )\n}\n"
|
|
}
|
|
],
|
|
"type": "components:example"
|
|
} |