"use strict";

exports.__esModule = true;
exports.learningProfileRadarChartPropTypes = exports.gradientPropTypes = exports.customTooltipPropTypes = exports.customDotPropTypes = void 0;
var _propTypes = _interopRequireDefault(require("prop-types"));
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
// PROPTYPES
const learningProfileRadarChartPropTypes = exports.learningProfileRadarChartPropTypes = {
  data: _propTypes.default.objectOf(_propTypes.default.oneOfType([_propTypes.default.arrayOf(_propTypes.default.number), _propTypes.default.number])).isRequired,
  totalDataset: _propTypes.default.number.isRequired,
  onDotClick: _propTypes.default.func,
  colors: _propTypes.default.arrayOf(_propTypes.default.shape({
    gradient: _propTypes.default.shape({
      fill: _propTypes.default.arrayOf(_propTypes.default.string),
      stroke: _propTypes.default.arrayOf(_propTypes.default.string)
    }),
    percentage: _propTypes.default.shape({
      color: _propTypes.default.string,
      background: _propTypes.default.string
    }),
    label: _propTypes.default.shape({
      color: _propTypes.default.string
    })
  })),
  width: _propTypes.default.number,
  height: _propTypes.default.number,
  onExploreClick: _propTypes.default.func
};
const customDotPropTypes = exports.customDotPropTypes = {
  cx: _propTypes.default.number,
  cy: _propTypes.default.number,
  payload: _propTypes.default.shape({
    payload: _propTypes.default.shape({
      value: _propTypes.default.number,
      subject: _propTypes.default.string
    }),
    name: _propTypes.default.string
  }),
  onDotClick: _propTypes.default.func,
  index: _propTypes.default.number,
  activeDot: _propTypes.default.shape({
    label: _propTypes.default.string,
    value: _propTypes.default.number,
    key: _propTypes.default.string
  }),
  dataKey: _propTypes.default.string,
  stroke: _propTypes.default.string
};
const customTooltipPropTypes = exports.customTooltipPropTypes = {
  active: _propTypes.default.bool,
  payload: _propTypes.default.arrayOf(_propTypes.default.shape({
    value: _propTypes.default.number
  })),
  label: _propTypes.default.string
};
const gradientPropTypes = exports.gradientPropTypes = {
  type: _propTypes.default.string,
  colors: _propTypes.default.arrayOf(_propTypes.default.string)
};

// TYPES
//# sourceMappingURL=types.js.map