pswui/packages/react/public/registry.json
p-sw 670fa9d1bc refactor(react): update registry.json paths and remove version
The registry.json file in the React package has been refactored. The paths have been updated for cleaner and simpler referencing. Additionally, the versioning from the 'lib' section, which was previously hard-coded, has been removed to allow for more flexibility and ease of updates in the future.
2024-06-11 17:58:42 +09:00

20 lines
646 B
JSON

{
"base": "https://raw.githubusercontent.com/pswui/ui",
"paths": {
"components": "/main/packages/react/components/{componentName}",
"lib": "/main/packages/react/lib/tsx"
},
"components": {
"button": { "name": "Button.tsx" },
"checkbox": { "name": "Checkbox.tsx" },
"dialog": { "name": "Dialog.tsx" },
"drawer": { "name": "Drawer.tsx" },
"input": { "name": "Input.tsx" },
"label": { "name": "Label.tsx" },
"popover": { "name": "Popover.tsx" },
"switch": { "name": "Switch.tsx" },
"tabs": { "name": "Tabs.tsx" },
"toast": { "name": "Toast.tsx" },
"tooltip": {"name": "Tooltip.tsx" }
}
}