forked from react-ui-kit/dribbble2react
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Updates: Velocity App (react-ui-kit#57)
* Plant App - Updated to Expo SDK 36 * Camping App: Updated to Expo SDK 36 * iBlood: Updated to Expo SDK 36 * Parking App: Updated to Expo SDK 36 * Travel App: Updated to Expo SDK 36 * VPN App: Updated to Expo SDK 36 * Smart Home App: Updated to Expo SDK 36 * Driving App: Updated to Expo SDK 36 * Velocity App: Updated to Expo SDK 36
- Loading branch information
Showing
8 changed files
with
2,964 additions
and
2,773 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,19 @@ | ||
import React from 'react'; | ||
import { createStackNavigator } from 'react-navigation'; | ||
import React from "react"; | ||
import { createStackNavigator } from "react-navigation-stack"; | ||
|
||
import Login from '../screens/Login'; | ||
import Register from '../screens/Register'; | ||
import Forgot from '../screens/Forgot'; | ||
import Login from "../screens/Login"; | ||
import Register from "../screens/Register"; | ||
import Forgot from "../screens/Forgot"; | ||
|
||
export default createStackNavigator({ | ||
Login, | ||
Register, | ||
Forgot, | ||
}, { | ||
defaultNavigationOptions: { | ||
header: null | ||
export default createStackNavigator( | ||
{ | ||
Login, | ||
Register, | ||
Forgot | ||
}, | ||
{ | ||
defaultNavigationOptions: { | ||
header: null | ||
} | ||
} | ||
}); | ||
); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,60 +1,61 @@ | ||
import React from 'react'; | ||
import { Platform } from 'react-native'; | ||
import { createStackNavigator, createBottomTabNavigator } from 'react-navigation'; | ||
import React from "react"; | ||
import { Platform } from "react-native"; | ||
import { createBottomTabNavigator } from "react-navigation"; | ||
import { createStackNavigator } from "react-navigation-stack"; | ||
|
||
import TabBarIcon from '../components/TabBarIcon'; | ||
import HomeScreen from '../screens/HomeScreen'; | ||
import LinksScreen from '../screens/LinksScreen'; | ||
import SettingsScreen from '../screens/SettingsScreen'; | ||
import TabBarIcon from "../components/TabBarIcon"; | ||
import HomeScreen from "../screens/HomeScreen"; | ||
import LinksScreen from "../screens/LinksScreen"; | ||
import SettingsScreen from "../screens/SettingsScreen"; | ||
|
||
const HomeStack = createStackNavigator({ | ||
Home: HomeScreen, | ||
Home: HomeScreen | ||
}); | ||
|
||
HomeStack.navigationOptions = { | ||
tabBarLabel: 'Home', | ||
tabBarLabel: "Home", | ||
tabBarIcon: ({ focused }) => ( | ||
<TabBarIcon | ||
focused={focused} | ||
name={ | ||
Platform.OS === 'ios' | ||
? `ios-information-circle${focused ? '' : '-outline'}` | ||
: 'md-information-circle' | ||
Platform.OS === "ios" | ||
? `ios-information-circle${focused ? "" : "-outline"}` | ||
: "md-information-circle" | ||
} | ||
/> | ||
), | ||
) | ||
}; | ||
|
||
const LinksStack = createStackNavigator({ | ||
Links: LinksScreen, | ||
Links: LinksScreen | ||
}); | ||
|
||
LinksStack.navigationOptions = { | ||
tabBarLabel: 'Links', | ||
tabBarLabel: "Links", | ||
tabBarIcon: ({ focused }) => ( | ||
<TabBarIcon | ||
focused={focused} | ||
name={Platform.OS === 'ios' ? 'ios-link' : 'md-link'} | ||
name={Platform.OS === "ios" ? "ios-link" : "md-link"} | ||
/> | ||
), | ||
) | ||
}; | ||
|
||
const SettingsStack = createStackNavigator({ | ||
Settings: SettingsScreen, | ||
Settings: SettingsScreen | ||
}); | ||
|
||
SettingsStack.navigationOptions = { | ||
tabBarLabel: 'Settings', | ||
tabBarLabel: "Settings", | ||
tabBarIcon: ({ focused }) => ( | ||
<TabBarIcon | ||
focused={focused} | ||
name={Platform.OS === 'ios' ? 'ios-options' : 'md-options'} | ||
name={Platform.OS === "ios" ? "ios-options" : "md-options"} | ||
/> | ||
), | ||
) | ||
}; | ||
|
||
export default createBottomTabNavigator({ | ||
HomeStack, | ||
LinksStack, | ||
SettingsStack, | ||
SettingsStack | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
import React from 'react'; | ||
import { createStackNavigator } from 'react-navigation'; | ||
import React from "react"; | ||
import { createStackNavigator } from "react-navigation-stack"; | ||
|
||
import Overview from '../screens/Overview'; | ||
import Overview from "../screens/Overview"; | ||
|
||
export default createStackNavigator({ | ||
Overview, | ||
}) | ||
Overview | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.