diff --git a/src/components/ui/badge.tsx b/src/components/ui/badge.tsx index 060c32a..613914d 100644 --- a/src/components/ui/badge.tsx +++ b/src/components/ui/badge.tsx @@ -22,11 +22,11 @@ const badgeVariants = cva( }, ); -export interface BadgeProps +interface BadgeProps extends React.HTMLAttributes, VariantProps {} function Badge({ className, variant, ...props }: BadgeProps) { return
; } -export { Badge, badgeVariants }; +export { Badge }; diff --git a/src/components/ui/button.tsx b/src/components/ui/button.tsx index 6cec5ff..5ea5391 100644 --- a/src/components/ui/button.tsx +++ b/src/components/ui/button.tsx @@ -46,4 +46,4 @@ const Button = React.forwardRef( ); Button.displayName = 'Button'; -export { Button, buttonVariants }; +export { Button }; diff --git a/src/components/ui/select.tsx b/src/components/ui/select.tsx index b0fbfef..785c956 100644 --- a/src/components/ui/select.tsx +++ b/src/components/ui/select.tsx @@ -124,27 +124,4 @@ const SelectItem = React.forwardRef< )); SelectItem.displayName = SelectPrimitive.Item.displayName; -const SelectSeparator = React.forwardRef< - React.ComponentRef, - React.ComponentPropsWithoutRef ->(({ className, ...props }, ref) => ( - -)); -SelectSeparator.displayName = SelectPrimitive.Separator.displayName; - -export { - Select, - SelectGroup, - SelectValue, - SelectTrigger, - SelectContent, - SelectLabel, - SelectItem, - SelectSeparator, - SelectScrollUpButton, - SelectScrollDownButton, -}; +export { Select, SelectGroup, SelectValue, SelectTrigger, SelectContent, SelectLabel, SelectItem };