mirror of
https://github.com/Blair-SGA-Dev-Team/blazerapp.git
synced 2024-11-12 08:41:16 -05:00
53 lines
1.2 KiB
JavaScript
53 lines
1.2 KiB
JavaScript
import React from 'react';
|
|
import {
|
|
SafeAreaView,
|
|
StyleSheet,
|
|
ScrollView,
|
|
View,
|
|
Text,
|
|
StatusBar,
|
|
} from 'react-native';
|
|
|
|
import {
|
|
Header,
|
|
LearnMoreLinks,
|
|
Colors,
|
|
DebugInstructions,
|
|
ReloadInstructions,
|
|
} from 'react-native/Libraries/NewAppScreen';
|
|
|
|
import { NavigationContainer } from '@react-navigation/native'
|
|
import { createBottomTabNavigator } from '@react-navigation/bottom-tabs'
|
|
|
|
import Home from './Home'
|
|
import Calendar from './Calendar'
|
|
import Poll from './Poll'
|
|
import Clubs from './Clubs'
|
|
import More from './More'
|
|
import Staff from './Staff'
|
|
|
|
const Tab = createBottomTabNavigator();
|
|
|
|
class App extends React.Component {
|
|
render() {
|
|
return (
|
|
<NavigationContainer >
|
|
<Tab.Navigator tabBarOptions={{
|
|
activeTintColor: 'red',
|
|
labelStyle:{
|
|
fontSize:16
|
|
}}}>
|
|
<Tab.Screen name="Home" component={Home} />
|
|
<Tab.Screen name="Calendar" component={Calendar} />
|
|
<Tab.Screen name="Polls" component={Poll} />
|
|
<Tab.Screen name="Clubs" component={Clubs} />
|
|
<Tab.Screen name="Staff" component={Staff} />
|
|
<Tab.Screen name="More" component={More} />
|
|
</Tab.Navigator>
|
|
</NavigationContainer>
|
|
)
|
|
}
|
|
}
|
|
|
|
export default App;
|