import _map from "lodash/fp/map";
function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
import React from 'react';
import PropTypes from 'prop-types';
import SkillsChartSideInformationItem from '../skills-chart-side-information-item';
import style from './style.css';
const SkillsChartSideInformationPanel = ({
  sidePanelItems = []
}) => {
  const sidePanel = _map(sidePanelItemProps => /*#__PURE__*/React.createElement(SkillsChartSideInformationItem, _extends({}, sidePanelItemProps, {
    key: `side-panel-item-${sidePanelItemProps.title}`
  })), sidePanelItems);
  return /*#__PURE__*/React.createElement("div", {
    "data-name": "skill-chart-side-panel",
    className: style.sidePanel
  }, sidePanel);
};
SkillsChartSideInformationPanel.propTypes = process.env.NODE_ENV !== "production" ? {
  sidePanelItems: PropTypes.arrayOf(PropTypes.shape(SkillsChartSideInformationItem.propTypes))
} : {};
export default SkillsChartSideInformationPanel;
//# sourceMappingURL=index.js.map