(function (global, factory) {
  if (typeof define === "function" && define.amd) {
    define(['exports', 'react', 'classnames'], factory);
  } else if (typeof exports !== "undefined") {
    factory(exports, require('react'), require('classnames'));
  } else {
    var mod = {
      exports: {}
    };
    factory(mod.exports, global.react, global.classnames);
    global.index = mod.exports;
  }
})(this, function (exports, _react, _classnames) {
  'use strict';

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

  var _react2 = _interopRequireDefault(_react);

  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' })
      )
    );
  };
});