mirror of
https://github.com/shadcn-ui/ui.git
synced 2026-06-26 14:16: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.
* Revert "Add dependency to badge registry entry"
This reverts commit d12ddaa511.
* Add Radix slot dependency to badge registry entry
Included @radix-ui/react-slot as a dependency for the badge component in the registry. This change ensures the component functions as intended and avoids potential runtime errors.
- Updated "badge" registry entry dependencies list.
- Fixed formatting by adding a missing newline at the file end.
---------
Co-authored-by: shadcn <m@shadcn.com>