import { Redirect, Tabs } from "expo-router"
import React from "react"
import { TabBarIcon } from "@/presentation/react-native/ui/TabBarIcon"
import { useAuthentication } from "@/presentation/react/contexts/Authentication"
const TabLayout: React.FC = () => {
const { user } = useAuthentication()
if (user != null) {
return
}
return (
{
return
},
}}
/>
{
return
},
}}
/>
{
return
},
}}
/>
)
}
export default TabLayout