You can solve this by using protected routes. See the documentation examples here.
export default function TabLayout() {
return (
<Tabs>
<Tabs.Screen name="index" options={{ tabBarLabel: 'Home' }} />
<Tabs.Protected guard={user === "normal" }>
<Tabs.Screen name="normal" options={{ tabBarLabel: 'Normal Page' }} />
</Tabs.Protected>
<Tabs.Protected guard={user === "expert" }>
<Tabs.Screen name="expert" options={{ tabBarLabel: 'Expert' }} />
</Tabs.Protected>
</Tabs> );
}