()
| 100 | } |
| 101 | |
| 102 | renderGoogleSwitch() { |
| 103 | return ( |
| 104 | <View> |
| 105 | <Text>Use GoogleMaps?</Text> |
| 106 | <Switch |
| 107 | onValueChange={value => this.setState({useGoogleMaps: value})} |
| 108 | style={styles.googleSwitch} |
| 109 | value={this.state.useGoogleMaps} |
| 110 | /> |
| 111 | </View> |
| 112 | ); |
| 113 | } |
| 114 | |
| 115 | renderExamples(examples: any) { |
| 116 | const {Component, useGoogleMaps} = this.state; |