import React from 'react';
import ExpandableItem from '../expandable-item';
import { propTypes } from './types';
import styles from './style.css';
const ExpandableList = ({
  items
}) => {
  return /*#__PURE__*/React.createElement("ul", {
    className: styles.list,
    "data-name": "expandable-item"
  }, items.map((item, index) => {
    return /*#__PURE__*/React.createElement("li", {
      key: `menu-link-item-${index}`,
      id: `menu-link-item-${index}`,
      className: styles.item
    }, /*#__PURE__*/React.createElement(ExpandableItem, item));
  }));
};
ExpandableList.propTypes = process.env.NODE_ENV !== "production" ? propTypes : {};
export default ExpandableList;
//# sourceMappingURL=index.js.map