@@ -19,10 +19,6 @@ const StOlafTab = ({navigation}) =>
1919 query = { { per_page : 10 , _embed : true } }
2020 name = "St. Olaf"
2121 />
22- StOlafTab . navigationOptions = {
23- tabBarLabel : 'St. Olaf' ,
24- tabBarIcon : TabBarIcon ( 'school' ) ,
25- }
2622
2723const OlevilleTab = ( { navigation} ) =>
2824 < NewsContainer
@@ -33,10 +29,6 @@ const OlevilleTab = ({navigation}) =>
3329 embedFeaturedImage = { true }
3430 name = "Oleville"
3531 />
36- OlevilleTab . navigationOptions = {
37- tabBarLabel : 'Oleville' ,
38- tabBarIcon : TabBarIcon ( 'happy' ) ,
39- }
4032
4133const MessTab = ( { navigation} ) =>
4234 < NewsContainer
@@ -45,10 +37,6 @@ const MessTab = ({navigation}) =>
4537 url = "http://manitoumessenger.com/feed/"
4638 name = "The Mess"
4739 />
48- MessTab . navigationOptions = {
49- tabBarLabel : 'The Mess' ,
50- tabBarIcon : TabBarIcon ( 'paper' ) ,
51- }
5240
5341const PoliticOleTab = ( { navigation} ) =>
5442 < NewsContainer
@@ -57,10 +45,6 @@ const PoliticOleTab = ({navigation}) =>
5745 url = "http://oleville.com/politicole/feed/"
5846 name = "PoliticOle"
5947 />
60- PoliticOleTab . navigationOptions = {
61- tabBarLabel : 'PoliticOle' ,
62- tabBarIcon : TabBarIcon ( 'megaphone' ) ,
63- }
6448
6549const KstoTab = ( { navigation} ) =>
6650 < NewsContainer
@@ -70,18 +54,44 @@ const KstoTab = ({navigation}) =>
7054 query = { { per_page : 10 , _embed : true } }
7155 name = "KSTO"
7256 />
73- KstoTab . navigationOptions = {
74- tabBarLabel : 'KSTO' ,
75- tabBarIcon : TabBarIcon ( 'radio' ) ,
76- }
7757
7858export default TabNavigator (
7959 {
80- StOlafNewsView : { screen : StOlafTab } ,
81- OlevilleNewsView : { screen : OlevilleTab } ,
82- MessNewsView : { screen : MessTab } ,
83- PoliticOleNewsView : { screen : PoliticOleTab } ,
84- KstoNewsView : { screen : KstoTab } ,
60+ StOlafNewsView : {
61+ screen : StOlafTab ,
62+ navigationOptions : {
63+ tabBarLabel : 'St. Olaf' ,
64+ tabBarIcon : TabBarIcon ( 'school' ) ,
65+ } ,
66+ } ,
67+ OlevilleNewsView : {
68+ screen : OlevilleTab ,
69+ navigationOptions : {
70+ tabBarLabel : 'Oleville' ,
71+ tabBarIcon : TabBarIcon ( 'happy' ) ,
72+ } ,
73+ } ,
74+ MessNewsView : {
75+ screen : MessTab ,
76+ navigationOptions : {
77+ tabBarLabel : 'The Mess' ,
78+ tabBarIcon : TabBarIcon ( 'paper' ) ,
79+ } ,
80+ } ,
81+ PoliticOleNewsView : {
82+ screen : PoliticOleTab ,
83+ navigationOptions : {
84+ tabBarLabel : 'PoliticOle' ,
85+ tabBarIcon : TabBarIcon ( 'megaphone' ) ,
86+ } ,
87+ } ,
88+ KstoNewsView : {
89+ screen : KstoTab ,
90+ navigationOptions : {
91+ tabBarLabel : 'KSTO' ,
92+ tabBarIcon : TabBarIcon ( 'radio' ) ,
93+ } ,
94+ } ,
8595 } ,
8696 {
8797 navigationOptions : {
0 commit comments