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 75791d8 commit cb40d86Copy full SHA for cb40d86
src/components/ui/Button/Button.tsx
@@ -21,7 +21,7 @@ const Button = ({ children, type = 'button', customRootClass = '', className = '
21
return (
22
<ButtonPrimitive
23
type={type}
24
- className={clsx(rootClass, 'button-${variant}', className, '')} data-accent-color={color ?? undefined} data-size={size}
+ className={clsx(rootClass, `button-${variant}`, className)} data-accent-color={color ?? undefined} data-size={size}
25
{...props}
26
>
27
{children}
0 commit comments