fix(button): fix for className (#4604)
This commit is contained in:
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}
|
||||
/>
|
||||
|
||||
Reference in new issue
Block a user