MCPcopy Create free account
hub / github.com/react-native-maps/react-native-maps / renderGoogleSwitch

Method renderGoogleSwitch

example/src/App.tsx:102–113  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

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;

Callers 1

renderExamplesMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected