'use strict';

var React = require('react');
var recharts = require('recharts');

function _interopDefault (e) { return e && e.__esModule ? e : { default: e }; }

var React__default = /*#__PURE__*/_interopDefault(React);

const DeprecatedDonutChart = ({
  data,
  dataKey,
  width,
  height,
  barSize,
  innerRadius,
  outerRadius
}) => /* @__PURE__ */ React__default.default.createElement(
  recharts.RadialBarChart,
  {
    data,
    width,
    height,
    innerRadius,
    outerRadius,
    barSize,
    startAngle: 90,
    endAngle: -270
  },
  /* @__PURE__ */ React__default.default.createElement(recharts.PolarAngleAxis, { type: "number", domain: [0, 1], radiusAxisId: 0 }),
  /* @__PURE__ */ React__default.default.createElement(
    recharts.RadialBar,
    {
      isAnimationActive: false,
      background: true,
      dataKey,
      radiusAxisId: 0
    }
  )
);
var DeprecatedDonutChart$1 = DeprecatedDonutChart;

module.exports = DeprecatedDonutChart$1;
