export default class App extends React.Component {
onRegionChange(region) {
this.setState({region: region});
}
render() {
return (
<View >
<MapView region={this.state.region} onRegionChange={this.onRegionChange} />
</View>
);
}
}