Skip to content

Commit 6fa9111

Browse files
committed
[#45] 🗑️ remove unused svg files and rename checkbox-on into checkbox-check
1 parent f815bca commit 6fa9111

File tree

6 files changed

+4
-19
lines changed

6 files changed

+4
-19
lines changed

src/assets/IconList.ts

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,8 @@ import IcBin from './icons/ic-bin.svg'
44
import IcCalendar from './icons/ic-calendar.svg'
55
import IcCaretDown from './icons/ic-caret-down.svg'
66
import IcCaretUp from './icons/ic-caret-up.svg'
7-
import IcCheckOff from './icons/ic-check-off.svg'
8-
import IcCheckOn from './icons/ic-check-on.svg'
7+
import IcCheckboxCheck from './icons/ic-check-checkbox.svg'
98
import IcCheck from './icons/ic-check.svg'
10-
import IcCheckboxOff from './icons/ic-checkbox-off.svg'
11-
import IcCheckboxOn from './icons/ic-checkbox-on.svg'
129
import IcChevronLeft from './icons/ic-chevron-left.svg'
1310
import IcChevronRight from './icons/ic-chevron-right.svg'
1411
import IcClose from './icons/ic-close.svg'
@@ -82,8 +79,5 @@ export {
8279
IcSearch,
8380
IcShare,
8481
IcStart,
85-
IcCheckboxOn,
86-
IcCheckboxOff,
87-
IcCheckOn,
88-
IcCheckOff,
82+
IcCheckboxCheck,
8983
}

src/assets/icons/ic-check-off.svg

Lines changed: 0 additions & 3 deletions
This file was deleted.

src/assets/icons/ic-check-on.svg

Lines changed: 0 additions & 3 deletions
This file was deleted.

src/assets/icons/ic-checkbox-off.svg

Lines changed: 0 additions & 3 deletions
This file was deleted.

src/components/common/input/CheckboxInput.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { IcCheck, IcCheckboxOn } from '@/assets/IconList'
1+
import { IcCheck, IcCheckboxCheck } from '@/assets/IconList'
22
import clsx from 'clsx'
33
import { twMerge } from 'tailwind-merge'
44

@@ -28,7 +28,7 @@ export const CheckboxInput = ({
2828
const checkClass = 'text-common-white'
2929
return (
3030
<div className={checkBoxClass}>
31-
<IcCheckboxOn className={checkClass} alt='체크된 체크박스' />
31+
<IcCheckboxCheck className={checkClass} alt='체크된 체크박스' />
3232
</div>
3333
)
3434
}

0 commit comments

Comments
 (0)