Add dependency to badge registry entry

Added @radix-ui/react-slot as a dependency for the badge component in the registry. This ensures proper functionality and resolves potential missing dependency issues.

- Updated the "badge" registry entry by including "@radix-ui/react-slot" in its dependencies list.
- Fixed the missing newline at the end of the file for better formatting.
This commit is contained in:
HichemTech
2025-03-03 13:24:53 +01:00
parent 418b2d9e14
commit d12ddaa511

View File

@@ -121,6 +121,9 @@
{
"name": "badge",
"type": "registry:ui",
"dependencies": [
"@radix-ui/react-slot"
],
"files": [
{
"path": "registry/new-york-v4/ui/badge.tsx",
@@ -2751,4 +2754,4 @@
]
}
]
}
}