// @flow import * as React from "react"; import cn from "classnames"; import "./GoogleMap.css"; import { withScriptjs, withGoogleMap, GoogleMap as ReactGoogleMap, } from "react-google-maps"; const MapComponent: React.ElementType = withScriptjs( withGoogleMap(props => ( )) ); type Props = {| +blackAndWhite?: boolean, |}; function GoogleMap({ blackAndWhite }: Props): React.Node { const containerClasses = cn("GoogleMapContainer", { blackAndWhite }); return ( } containerElement={
} mapElement={
} /> ); } export default GoogleMap;