Skip to content

Commit

Permalink
fix: 커스텀 스타일링 밀림 이슈 해결 (#76)
Browse files Browse the repository at this point in the history
  • Loading branch information
21ow authored Jan 9, 2025
1 parent 5750c05 commit 75c2d27
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions src/shared/button/Button.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,9 @@ interface ButtonProps extends ButtonHTMLAttributes<HTMLButtonElement> {
}

const Button = forwardRef<HTMLButtonElement, ButtonProps>(
({ children, className = '', ...props }, ref) => {
({ children, className, ...props }, ref) => {
return (
<button
ref={ref}
className={`${styles.maButton} ${className}`}
{...props}
>
<button ref={ref} className={className || styles.maButton} {...props}>
{children}
</button>
);
Expand Down

0 comments on commit 75c2d27

Please sign in to comment.