'use strict';

Object.defineProperty(exports, "__esModule", {
  value: true
});

var _react = require('react');

var _react2 = _interopRequireDefault(_react);

var _classnames = require('classnames');

var _classnames2 = _interopRequireDefault(_classnames);

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

exports.default = function (_ref) {
  var _ref$label = _ref.label,
      label = _ref$label === undefined ? 'Breadcrumbs' : _ref$label,
      children = _ref.children;

  var baseClasses = (0, _classnames2.default)('px-breadcrumbs', {
    'px-breadcrumbs--children': children
  });

  return _react2.default.createElement(
    'div',
    { className: baseClasses },
    _react2.default.createElement(
      'div',
      { className: 'container flex' },
      _react2.default.createElement('ul', { className: 'topPath' })
    )
  );
};