import React from 'react';
import PropTypes from 'prop-types';

import './style.css';

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

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

export default Breadcrumb;