'use strict';

exports.__esModule = true;

var _react = require('react');

var _react2 = _interopRequireDefault(_react);

var _propTypes = require('prop-types');

var _propTypes2 = _interopRequireDefault(_propTypes);

require('./style.css');

function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }

var Breadcrumb = function Breadcrumb(props) {
  return _react2.default.createElement(
    'nav',
    { 'aria-label': 'breadcrumb' },
    _react2.default.createElement(
      'ol',
      { className: 'ma__breadcrumb' },
      props.children
    )
  );
};

Breadcrumb.propTypes = process.env.NODE_ENV !== "production" ? {
  // eslint-disable-next-line react/forbid-prop-types
  children: _propTypes2.default.array
} : {};

exports.default = Breadcrumb;
module.exports = exports['default'];