var React = require('react-native')

var {
  StyleSheet,
  Text,
  View,
  TouchableHighlight,
  ActivityIndicatorIOS,
  TextInput
} = React;

class PastTrips extends React.Component{

  render(){
    return (
      <View style={styles.mainContainer}>
        <Text>Boooooobs</Text>
      </View>
    )
  }
}

module.exports = PastTrips;
@@ -140,75 +140,1433 @@
 t;%0A%0A
-class PastTrips extends React.Component%7B%0A%0A  render()%7B%0A    return (%0A
+var styles = StyleSheet.create(%7B%0A  container: %7B%0A    flex: 1,%0A    flexDirection: 'column',%0A  %7D,%0A  buttonText: %7B%0A    fontSize: 18,%0A    color: 'white'%0A  %7D,%0A  button: %7B%0A    height: 60,%0A    backgroundColor: '#48BBEC',%0A    flex: 3,%0A    alignItems: 'center',%0A    justifyContent: 'center'%0A  %7D,%0A  searchInput: %7B%0A    height: 60,%0A    padding: 10,%0A    fontSize: 18,%0A    color: '#111',%0A    flex: 10%0A  %7D,%0A  rowContainer: %7B%0A    padding: 10,%0A  %7D,%0A  footerContainer: %7B%0A    backgroundColor: '#E3E3E3',%0A    alignItems: 'center',%0A    flexDirection: 'row'%0A  %7D%0A%7D);%0A%0Aclass PastTrips extends React.Component%7B%0A  constructor(props)%7B%0A    super(props);%0A    this.ds = new Listview.DataSource(%7BrowHasChanged: (row1, row2) =%3E row1 !== row2%7D)%0A    this.state = %7B%0A      dataSource: this.ds.cloneWithRows(this.props.notes),%0A      trip: '',%0A      error: ''%0A    %7D%0A  %7D%0A  handleChange(e)%7B%0A    this.setState(%7B%0A      trip: e.nativeEvent.text%0A    %7D)%0A  %7D%0A  handleSubmit()%7B%0A    var trip = this.state.trip;%0A    this.setState(%7B%0A      trip: ''%0A    %7D);%0A    api.addTrip(this.props.userName, trip)%0A      .then((data)=%3E %7B%0A        api.getTrips(this.props.userName)%0A          .then((data)=%3E %7B%0A            this.setState(%7B%0A              dataSource:this.ds.cloneWithRows(data)%0A            %7D)%0A          %7D);%0A      %7D)%0A      .catch((error)=%3E %7B%0A        console.log('Request failed', error);%0A        this.setState(%7Berror%7D)%0A      %7D);%0A  %7D%0A  renderRow(rowData)%7B%0A    return (%0A      %3CView%3E%0A  
     
@@ -1591,12 +1591,11 @@
 les.
-main
+row
 Cont
@@ -1614,23 +1614,27 @@
     
+  
 %3CText%3E
-Boooooobs
+ %7BrowData%7D 
 %3C/Te
@@ -1662,16 +1662,18 @@
  )%0A  %7D%0A%7D
+;%0A
 %0A%0Amodule

Add past trips page