{"size": 623, "ext": "js", "max_stars_repo_path": "node_modules/nivo/es/components/charts/pie/enhance.js", "max_stars_repo_name": "tbking/fialysis", "max_stars_repo_stars_event_min_datetime": "2020-03-23T14:25:04.000Z", "max_stars_repo_stars_event_max_datetime": "2020-03-23T14:25:04.000Z", "max_issues_repo_path": "node_modules/nivo/es/components/charts/pie/enhance.js", "max_issues_repo_name": "tbking/fialysis", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "node_modules/nivo/es/components/charts/pie/enhance.js", "max_forks_repo_name": "tbking/fialysis", "max_forks_repo_forks_event_min_datetime": "2020-02-28T23:38:33.000Z", "max_forks_repo_forks_event_max_datetime": "2020-02-28T23:38:33.000Z"}
{"max_stars_count": 1, "max_issues_count": null, "max_forks_count": 1, "avg_line_length": 36.6470588235, "max_line_length": 112, "alphanum_fraction": 0.7383627608}
/*
 * This file is part of the nivo project.
 *
 * Copyright 2016-present, Raphaël Benitte.
 *
 * For the full copyright and license information, please view the LICENSE
 * file that was distributed with this source code.
 */
import compose from 'recompose/compose';
import defaultProps from 'recompose/defaultProps';
import pure from 'recompose/pure';
import { withTheme, withDimensions, withColors } from '../../../hocs';
import { PieDefaultProps } from './props';

export default (function (Component) {
    return compose(defaultProps(PieDefaultProps), withTheme(), withDimensions(), withColors(), pure)(Component);
});