-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathCommit.tsx
More file actions
30 lines (26 loc) · 978 Bytes
/
Commit.tsx
File metadata and controls
30 lines (26 loc) · 978 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
import React, { Component } from "react";
import { View, StyleSheet, Image, Text, Button, TouchableOpacity } from "react-native";
export default class Commit extends Component <{next: any}, {step: Number}> {
constructor(props) {
super(props);
this.state = {
step: 1
};
}
go = () => {
}
render() {
return (
<View style={{flex: 1, alignItems: 'center', justifyContent: 'space-around'}}>
<Text style={{ color: 'white', fontSize: 30, textAlign: 'center'}}>
{"Now you're set-up with Strava and funds, you can set your goals and stake."}
</Text>
<TouchableOpacity
style={{width: 300, height: 50, backgroundColor: '#D45353', alignItems: 'center', justifyContent: 'center'}}
onPress={() => this.props.next(6)}>
<Text style={{fontSize: 30, color:'white' }}>Let's Go!</Text>
</TouchableOpacity>
</View>
);
}
}