mirror of
https://github.com/google-map-react/google-map-react.git
synced 2025-12-08 18:26:32 +00:00
* Rewrite library using create-react-library * Export utils properly * Remove unnecessary code and fix eslintignore * Update CHANGELOG
23 lines
396 B
JavaScript
23 lines
396 B
JavaScript
import React from 'react';
|
|
import GoogleMapMarkers from './google_map_markers';
|
|
|
|
const style = {
|
|
width: '50%',
|
|
height: '50%',
|
|
left: '50%',
|
|
top: '50%',
|
|
// backgroundColor: 'red',
|
|
margin: 0,
|
|
padding: 0,
|
|
position: 'absolute',
|
|
// opacity: 0.3
|
|
};
|
|
|
|
export default function (props) {
|
|
return (
|
|
<div style={style}>
|
|
<GoogleMapMarkers {...props} prerender />
|
|
</div>
|
|
);
|
|
}
|