fix(button): fix for className (#4604)

This commit is contained in:
Ceciliadrc authored and GitHub committed 2025-02-19 09:16:22 -05:00
1 parent ce3bc8962d
commit 125f11fc73
1 file changed
+1 -1
@@ -42,7 +42,7 @@ const Button = React.forwardRef<HTMLButtonElement, ButtonProps>(
const Comp = asChild ? Slot : 'button';
return (
<Comp
className={cn(buttonVariants({ variant, size, className }))}
className={cn(buttonVariants({ variant, size }), className)}
ref={forwardRef}
{...props}
/>