Skip to content

Commit

Permalink
fix button style being an object (#280)
Browse files Browse the repository at this point in the history
  • Loading branch information
devgioele authored Sep 14, 2023
1 parent afcb7d3 commit 7b467a0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/components/button/Button.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ export const Button = forwardRef<HTMLButtonElement, ButtonProps>(
props.disabled
? button.modeVariantTone[mode][variant].disabled
: button.modeVariantTone[mode][variant][tone],
button.button.variantSize.base,
button.button.variantSize.base[size],
button.button.variantSize[variant][size],
className,
)}
Expand Down
2 changes: 1 addition & 1 deletion src/components/button/ButtonLink.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ export const ButtonLink = forwardRef<HTMLAnchorElement, ButtonLinkProps>(
disabled
? button.modeVariantTone[mode][variant].disabled
: button.modeVariantTone[mode][variant][tone],
button.button.variantSize.base,
button.button.variantSize.base[size],
button.button.variantSize[variant][size],
className,
)
Expand Down

0 comments on commit 7b467a0

Please sign in to comment.