Installation de React Native Paper
This commit is contained in:
@ -1,18 +1,11 @@
|
||||
import { Tabs } from 'expo-router'
|
||||
import React from 'react'
|
||||
|
||||
import { Colors } from '@/constants/Colors'
|
||||
import { useColorScheme } from '@/hooks/useColorScheme'
|
||||
import { FontAwesome6, MaterialIcons } from '@expo/vector-icons'
|
||||
import TabBar from '@/components/ui/TabBar'
|
||||
|
||||
export default function TabLayout() {
|
||||
const colorScheme = useColorScheme()
|
||||
|
||||
return (
|
||||
<Tabs
|
||||
screenOptions={{
|
||||
tabBarActiveTintColor: Colors[colorScheme ?? 'light'].tint,
|
||||
}}>
|
||||
<Tabs tabBar={(props) => <TabBar {...props} />}>
|
||||
<Tabs.Screen
|
||||
name="index"
|
||||
options={{
|
||||
|
Reference in New Issue
Block a user