mirror of
https://github.com/supabase/supabase.git
synced 2026-12-06 08:29:01 +00:00
This PR runs `prettier` on the `examples` folder. Depends on https://github.com/supabase/supabase/pull/43849.
25 lines
493 B
TypeScript
25 lines
493 B
TypeScript
import { Tabs } from 'expo-router'
|
|
|
|
import { Colors } from '@/constants/theme'
|
|
import { useColorScheme } from '@/hooks/use-color-scheme'
|
|
|
|
export default function TabLayout() {
|
|
const colorScheme = useColorScheme()
|
|
|
|
return (
|
|
<Tabs
|
|
screenOptions={{
|
|
tabBarActiveTintColor: Colors[colorScheme ?? 'light'].tint,
|
|
headerShown: false,
|
|
}}
|
|
>
|
|
<Tabs.Screen
|
|
name="index"
|
|
options={{
|
|
title: 'Home',
|
|
}}
|
|
/>
|
|
</Tabs>
|
|
)
|
|
}
|