Skip to content

Instantly share code, notes, and snippets.

@hanipcode
Last active September 30, 2017 10:54
Show Gist options
  • Select an option

  • Save hanipcode/c978597e0e9406ac4b0c35184391a07b to your computer and use it in GitHub Desktop.

Select an option

Save hanipcode/c978597e0e9406ac4b0c35184391a07b to your computer and use it in GitHub Desktop.
import React, { Component } from 'react';
import { View } from 'react-native';
import SearchBox from './SearchBox';
class PickupPage extends Component {
constructor(props) {
super(props);
this.state = {
pickupCoordinate: null,
dropCoordinate: null
};
}
render() {
return (
<View style={{ flex: 1}}>
<SearchBox />
<SearchBox />
</View>
);
}
}
export default PickupPage;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment