diff --git a/src/components/atoms/BorderTab.tsx b/src/components/atoms/BorderTab.tsx index 26bf1a4..1c156c1 100644 --- a/src/components/atoms/BorderTab.tsx +++ b/src/components/atoms/BorderTab.tsx @@ -7,12 +7,7 @@ interface BorderTabProps { clickHandler?: () => void; className?: string; } -const BorderTab: React.FC = ({ - tabName, - className, - currentTabName, - handleTabNameChange, -}) => { +const BorderTab: React.FC = ({ tabName, className, currentTabName, handleTabNameChange }) => { return (
-> = ({ text, className, onClick, ...props }) => { +const Button: React.FC> = ({ + text, + className, + onClick, + ...props +}) => { return ( - ); diff --git a/src/components/atoms/CheckBox.tsx b/src/components/atoms/CheckBox.tsx index 9f8e388..f212ca4 100644 --- a/src/components/atoms/CheckBox.tsx +++ b/src/components/atoms/CheckBox.tsx @@ -1,12 +1,8 @@ import { CheckIcon } from '@/assets/icons'; import React from 'react'; -const CheckBox: React.FC<{ active: boolean; onClick: () => void }> = ({ - active = false, - onClick, -}) => { - const commonStyle = - 'flex justify-center items-center w-[20px] h-[20px] rounded-full'; +const CheckBox: React.FC<{ active: boolean; onClick: () => void }> = ({ active = false, onClick }) => { + const commonStyle = 'flex justify-center items-center w-[20px] h-[20px] rounded-full'; const buttonClassName = `${commonStyle} ${active ? 'bg-primary2' : 'border border-gray5'}`; return (