mirror of
https://github.com/hanzoai/ui.git
synced 2026-11-21 00:18:41 +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
13 lines
476 B
JSON
13 lines
476 B
JSON
{
|
|
"name": "button-loading",
|
|
"registryDependencies": [
|
|
"button"
|
|
],
|
|
"files": [
|
|
{
|
|
"name": "button-loading.tsx",
|
|
"content": "import { Loader2 } from \"lucide-react\"\n\nimport { Button } from \"@/registry/default/ui/button\"\n\nexport default function ButtonLoading() {\n return (\n <Button disabled>\n <Loader2 className=\"mr-2 h-4 w-4 animate-spin\" />\n Please wait\n </Button>\n )\n}\n"
|
|
}
|
|
],
|
|
"type": "components:example"
|
|
} |