{"size": 258, "ext": "js", "max_stars_repo_path": "node_modules/react-google-maps/src/utils/defaultPropsCreator.js", "max_stars_repo_name": "yomolify/cs-webserver", "max_stars_repo_stars_event_min_datetime": "2016-06-20T15:03:35.000Z", "max_stars_repo_stars_event_max_datetime": "2017-02-20T14:27:16.000Z", "max_issues_repo_path": "node_modules/react-google-maps/src/utils/defaultPropsCreator.js", "max_issues_repo_name": "yomolify/cs-webserver", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "node_modules/react-google-maps/src/utils/defaultPropsCreator.js", "max_forks_repo_name": "yomolify/cs-webserver", "max_forks_repo_forks_event_min_datetime": "2017-02-01T14:35:14.000Z", "max_forks_repo_forks_event_max_datetime": "2019-11-12T05:39:25.000Z"}
{"max_stars_count": 2, "max_issues_count": null, "max_forks_count": 5, "avg_line_length": 28.6666666667, "max_line_length": 63, "alphanum_fraction": 0.7093023256}
import {default as addDefaultPrefix} from "./addDefaultPrefix";

export default function defaultPropsCreator (propTypes) {
  return Object.keys(propTypes).reduce((acc, name) => {
    acc[addDefaultPrefix(name)] = propTypes[name];
    return acc;
  }, {});
}
