From 426297796eceb234142ed0c5214576f640b9fa80 Mon Sep 17 00:00:00 2001 From: p-sw Date: Thu, 6 Jun 2024 19:27:18 +0900 Subject: [PATCH] feat: add components in registry.json A new file called registry.json has been created in the public react package. This file maps each component to its specific TypeScript file, acting as a repository for components like Button, Checkbox, Dialog, Input and others. --- packages/react/public/registry.json | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 packages/react/public/registry.json diff --git a/packages/react/public/registry.json b/packages/react/public/registry.json new file mode 100644 index 0000000..3a9e23a --- /dev/null +++ b/packages/react/public/registry.json @@ -0,0 +1,16 @@ +{ + "base": "https://raw.githubusercontent.com/p-sw/ui/main/packages/react/components/{componentName}", + "components": { + "button": "Button.tsx", + "checkbox": "Checkbox.tsx", + "dialog": "Dialog.tsx", + "drawer": "Drawer.tsx", + "Input": "Input.tsx", + "Label": "Label.tsx", + "popover": "Popover.tsx", + "switch": "Switch.tsx", + "tabs": "Tabs.tsx", + "toast": "Toast.tsx", + "tooltip": "Tooltip.tsx" + } +} \ No newline at end of file