Making TabNav FontSize Bigger (theres literally ZERO DOCUMENTATION)

This commit is contained in:
Michael Ilie 2020-08-10 09:52:12 -04:00
parent b04ed35c6d
commit 46f9cad1c2

View File

@ -39,8 +39,11 @@ class App extends React.Component {
render() { render() {
return ( return (
<NavigationContainer > <NavigationContainer >
<Tab.Navigator> <Tab.Navigator tabBarOptions={{
<Tab.Screen name="Home" component={Home} /> labelStyle:{
fontSize:20
}}}>
<Tab.Screen name="Home" component={Home} style={{fontSize:30}} />
<Tab.Screen name="Calendar" component={Calendar} /> <Tab.Screen name="Calendar" component={Calendar} />
<Tab.Screen name="Polls" component={Poll} /> <Tab.Screen name="Polls" component={Poll} />
<Tab.Screen name="Clubs" component={Clubs} /> <Tab.Screen name="Clubs" component={Clubs} />
@ -51,4 +54,8 @@ class App extends React.Component {
} }
} }
const styles = StyleSheet.create({
}
);
export default App; export default App;