Merge pull request #28 from henrydays/Borges_march

Borges march
This commit is contained in:
Henrique Dias 2019-03-14 19:48:21 +00:00 committed by GitHub
commit aa2d8773a5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 53 additions and 2 deletions

View File

@ -183,6 +183,7 @@ const Stack = createStackNavigator({
return {
headerTitle: 'Eventos',
}
}
else {
return {
@ -207,7 +208,6 @@ const Stack = createStackNavigator({
screen: FebradaDetail,
},
resetPassword:{
screen:resetPassword
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.6 KiB

View File

@ -1,11 +1,15 @@
import * as React from "react";
import {View, StyleSheet, Dimensions, Text, Button, ScrollView, Image, TouchableOpacity} from "react-native";
import {TabView, TabBar, SceneMap} from "react-native-tab-view";
import rallyImg from '../assets/rallyTascas.jpg';
const SCREEN_HEIGHT = Dimensions.get("window").height;
const SCREEN_WIDTH = Dimensions.get("window").width;
const FirstRoute = () => (
<View style={[styles.scene, {backgroundColor: "#ff4081"}]}/>
);
@ -51,7 +55,6 @@ export default class Eventos extends React.Component {
</Image>
</View>
</TouchableOpacity>
</View>
);
@ -128,6 +131,7 @@ const styles = StyleSheet.create({
cardContainer: {
flex: 1,
flexDirection: 'row',
padding: 10,
margin: 20,
backgroundColor: '#fff',

View File

@ -0,0 +1,47 @@
/*
/*
/*
/*Esta página só está disponivel a 1 hora do rally..
*/
import * as React from "react";
import {View, StyleSheet, Dimensions, Text, Button, ScrollView} from "react-native";
import {TabView, TabBar, SceneMap} from "react-native-tab-view";
import * as Actions from "../store/actions";
import {connect} from "react-redux";
import {bindActionCreators} from "redux";
export default class rallyTascas extends React.Component {
render() {
return (
<View>
</View>
)
}
}
function mapStateToProps(state, props) {
return {
token: state.apiReducer.token,
user: state.apiReducer.user,
logged: state.apiReducer.logged,
events: state.apiReducer.events
}
}
function mapDispatchToProps(dispatch) {
return bindActionCreators(Actions, dispatch);
}
export default connect(mapStateToProps, mapDispatchToProps)(rallyTascas);