11package com.ninecraft.booket.feature.main.component
22
33import androidx.annotation.DrawableRes
4+ import androidx.annotation.StringRes
45import com.ninecraft.booket.feature.home.HomeScreen
56import com.ninecraft.booket.feature.library.LibraryScreen
67import com.ninecraft.booket.feature.main.R
@@ -10,29 +11,29 @@ import com.slack.circuit.runtime.screen.Screen
1011internal enum class MainTab (
1112 @DrawableRes val iconResId : Int ,
1213 @DrawableRes val selectedIconResId : Int ,
14+ @StringRes val labelResId : Int ,
1315 internal val contentDescription : String ,
14- val label : String ,
1516 val screen : Screen ,
1617) {
1718 HOME (
1819 iconResId = R .drawable.ic_home,
1920 selectedIconResId = R .drawable.ic_selected_home,
21+ labelResId = R .string.home_label,
2022 contentDescription = " Home Icon" ,
21- label = " 홈" ,
2223 screen = HomeScreen ,
2324 ),
2425 SEARCH (
2526 iconResId = R .drawable.ic_search,
2627 selectedIconResId = R .drawable.ic_selected_search,
28+ labelResId = R .string.search_label,
2729 contentDescription = " Search Icon" ,
28- label = " 도서 검색" ,
2930 screen = SearchScreen ,
3031 ),
3132 LIBRARY (
3233 iconResId = R .drawable.ic_library,
3334 selectedIconResId = R .drawable.ic_selected_library,
35+ labelResId = R .string.library_label,
3436 contentDescription = " Library Icon" ,
35- label = " 내 서재" ,
3637 screen = LibraryScreen ,
3738 ),
3839}
0 commit comments