"use strict";

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

var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");

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

var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends"));

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

var _consoleComponents = require("@alicloud/console-components");

/**
 * 定义面包屑。通常包括若干个{@link IBreadcrumb.Item | Breadcrumb.Item}作为子元素。
 * @public
 */
var Breadcrumb = function Breadcrumb(props) {
  return React.createElement(_consoleComponents.Breadcrumb, (0, _extends2.default)({
    maxNode: 5,
    separator: "/"
  }, props));
};

Breadcrumb.Item = _consoleComponents.Breadcrumb.Item;
var _default = Breadcrumb;
exports.default = _default;