아이콘 없이 Text만 있는 TabBar 어떻게 만드나요?

조회수 621회

react-native 와 expo를 사용하여 tabBar를 아래와 같이 만들었습니다.

이미지

그런데 아이콘을 지울 수 가 없더라구요.

아래와 같이 코드를 짰는데 아이콘을 지우고 문자로만 구성된 tabBar를 만들 수 있는 방법이 있나요?

  <Tabs.Navigator   screenOptions={{
    headerShown: false,
    tabBarActiveTintColor: `${colors.vivid}`,
    tabBarActiveBackgroundColor: `${colors.light}`,
    tabBarStyle: {
      backgroundColor: "white",
      height: 60,
    },
    tabBarLabelStyle: {
      fontFamily: "Katuri",
      fontSize: 18,
    },   }}
>   <Tabs.Screen
    name="사진"
    options={{
      tabBarIcon: ({ focused, color, size }) => (
        <Ionicons name={"camera"} color={color} size={18} />
      ),
    }}

답변을 하려면 로그인이 필요합니다.

프로그래머스 커뮤니티는 개발자들을 위한 Q&A 서비스입니다. 로그인해야 답변을 작성하실 수 있습니다.

(ಠ_ಠ)
(ಠ‿ಠ)