Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 09208ea commit d2c5927Copy full SHA for d2c5927
site/src/components/Button/Button.tsx
@@ -53,7 +53,7 @@ export const Button: FC<ButtonProps> = forwardRef<
53
<Comp
54
ref={ref}
55
{...props}
56
- className={cn(buttonVariants({ variant, size, className }))}
+ className={cn(buttonVariants({ variant, size }), className)}
57
type={
58
props.type === undefined && Comp === "button" ? "button" : props.type
59
}
0 commit comments