"use strict";

var _interopRequireWildcard = require("@babel/runtime/helpers/interopRequireWildcard");

Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.default = void 0;

var _react = _interopRequireWildcard(require("react"));

var _context = require("../config-provider/context");

var BreadcrumbSeparator = function BreadcrumbSeparator(_ref) {
  var children = _ref.children;

  var _useContext = (0, _react.useContext)(_context.ConfigContext),
      getPrefixClassName = _useContext.getPrefixClassName;

  var breadcrumbCla = getPrefixClassName('bread-crumb');
  return /*#__PURE__*/_react.default.createElement("span", {
    className: "".concat(breadcrumbCla, "-separator")
  }, children || '/');
};

var _default = BreadcrumbSeparator;
exports.default = _default;