MCPcopy Create free account
hub / github.com/tomchentw/react-google-maps / render

Method render

src/withScriptjs.jsx:67–81  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

65 }
66
67 render() {
68 const {
69 loadingElement,
70 googleMapURL, // eslint-disable-line no-unused-vars
71 ...restProps
72 } = this.props
73
74 const { loadingState } = this.state
75
76 if (loadingState === LOADING_STATE_LOADED) {
77 return factory(restProps)
78 } else {
79 return loadingElement
80 }
81 }
82 }
83
84 return Container

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected