mirror of
https://github.com/shadcn-ui/ui.git
synced 2026-06-25 21:56:08 +00:00
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:
@@ -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 @@
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user