define(['exports', 'react', 'prop-types', 'react-bootstrap/Breadcrumb'], function (exports, React, PropTypes, ReactBreadcrumb) { 'use strict';

  function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }

  var React__default = /*#__PURE__*/_interopDefaultLegacy(React);
  var PropTypes__default = /*#__PURE__*/_interopDefaultLegacy(PropTypes);
  var ReactBreadcrumb__default = /*#__PURE__*/_interopDefaultLegacy(ReactBreadcrumb);

  function Breadcrumb(props) {
    const sections = props.sections.map(sec => /*#__PURE__*/React__default['default'].createElement(ReactBreadcrumb__default['default'].Item, {
      onClick: sec.onClick,
      href: sec.href,
      key: sec.key
    }, sec.content));
    return /*#__PURE__*/React__default['default'].createElement(ReactBreadcrumb__default['default'], {
      icon: "right angle"
    }, sections);
  }

  Breadcrumb.propTypes = {
    sections: PropTypes__default['default'].array
  };

  exports.Breadcrumb = Breadcrumb;

});
//# sourceMappingURL=index-3130a914.js.map
