Skip to content

Commit

Permalink
Update MainTabs.navigator.tsx
Browse files Browse the repository at this point in the history
  • Loading branch information
ehsan6sha committed Feb 5, 2025
1 parent 26263d7 commit 337da8e
Showing 1 changed file with 4 additions and 10 deletions.
14 changes: 4 additions & 10 deletions apps/box/src/navigation/MainTabs.navigator.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ import {
FxBottomSheetModalMethods,
FxArrowUpIcon,
useFxTheme,
FxScanCodeIcon,
} from '@functionland/component-library';
import { createNativeStackNavigator } from '@react-navigation/native-stack';
import { BloxScreen } from '../screens/Blox/Blox.screen';
Expand Down Expand Up @@ -245,16 +246,9 @@ export const MainTabsNavigator = () => {
name={Routes.ChatAITab}
component={ChatAIScreen}
options={{
tabBarIcon: ({ color }) => (
<SvgUri
uri="https://raw.githubusercontent.com/functionland/fx-components/main/apps/box/assets/icons/chatai-icon.svg"
width={24}
height={24}
fill={color}
style={{ alignSelf: 'center', padding: 0, margin: 0 }}
/>
),
tabBarLabel: 'ChatAI',
// eslint-disable-next-line react/no-unstable-nested-components
tabBarIcon: ({ color }) => <FxScanCodeIcon fill={color} />,
tabBarLabel: 'Loyal Agent',
}}
/>
<MainTabs.Screen
Expand Down

0 comments on commit 337da8e

Please sign in to comment.