{"size": 110, "ext": "js", "max_stars_repo_path": "esm/MapConsumer.js", "max_stars_repo_name": "flyvam/react-leaflet-x", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "esm/MapConsumer.js", "max_issues_repo_name": "flyvam/react-leaflet-x", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "esm/MapConsumer.js", "max_forks_repo_name": "flyvam/react-leaflet-x", "max_forks_repo_forks_event_min_datetime": "2021-09-28T19:15:17.000Z", "max_forks_repo_forks_event_max_datetime": "2021-09-28T19:15:17.000Z"}
{"max_stars_count": null, "max_issues_count": null, "max_forks_count": 1, "avg_line_length": 18.3333333333, "max_line_length": 33, "alphanum_fraction": 0.6727272727}
import { useMap } from './hooks';
export function MapConsumer({
  children
}) {
  return children(useMap());
}