Skip to content

Commit

Permalink
Chore: Button size optional
Browse files Browse the repository at this point in the history
  • Loading branch information
junseublim committed Jul 10, 2024
1 parent bba5ded commit 82eeaa6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/components/Button/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { twMerge } from 'tailwind-merge'

interface ButtonProps extends React.ButtonHTMLAttributes<HTMLButtonElement> {
variant?: 'primary' | 'secondary'
size: 'sm' | 'md' | 'lg'
size?: 'sm' | 'md' | 'lg'
className?: string
isSubmit?: boolean
}
Expand Down Expand Up @@ -53,6 +53,7 @@ function Button({

Button.defaultProps = {
variant: 'primary',
size: 'md',
className: '',
isSubmit: false,
}
Expand Down

0 comments on commit 82eeaa6

Please sign in to comment.