Skip to content

Commit

Permalink
chore: 초깃값 추가
Browse files Browse the repository at this point in the history
  • Loading branch information
wrryu09 committed Nov 25, 2024
1 parent 08a39d0 commit 07977f2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/common/v2/control/CheckButton.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ type CheckButtonProps = {
onClick: () => void;
};

function CheckButton({ label, size, checked, onClick }: CheckButtonProps) {
function CheckButton({ label, size = 'small', checked = false, onClick }: CheckButtonProps) {
return (
<Button
type={checked ? 'text-primary' : 'text-assistive'}
Expand Down

0 comments on commit 07977f2

Please sign in to comment.