fix(button): fix for className (#4604)
This commit is contained in:
parent
ce3bc8962d
commit
125f11fc73
@ -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}
|
||||
/>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user