Skip to content

Commit

Permalink
fix(component): className prop from button component
Browse files Browse the repository at this point in the history
  • Loading branch information
JasonCrk committed Nov 19, 2023
1 parent 2b07055 commit ded6f9e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/components/Button.component.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,12 @@ const Button: FC<Props> = ({
children,
btnColor,
disabled,
className,
...props
}) => {
return (
<button
className={`btn btn-${btnColor || BootstrapColor.primary}`}
className={`btn btn-${btnColor || BootstrapColor.primary} ${className}`}
disabled={isLoading || disabled}
{...props}
>
Expand Down

0 comments on commit ded6f9e

Please sign in to comment.