"use strict";

var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
exports.__esModule = true;
exports.TextBreadcrumbs = TextBreadcrumbs;
var _react = _interopRequireDefault(require("react"));
var _designSystem = require("@wix/design-system");
var _jsxFileName = "/home/builduser/work/843658b9f44192f0/packages/cairo/dist/cjs/components/TextBreadcrumbs.tsx";
function TextBreadcrumbs(props) {
  const {
    dataHook,
    items
  } = props;
  return /*#__PURE__*/_react.default.createElement(_designSystem.Box, {
    direction: "horizontal",
    minWidth: 0,
    dataHook: dataHook,
    __self: this,
    __source: {
      fileName: _jsxFileName,
      lineNumber: 18,
      columnNumber: 5
    }
  }, items.map(item => {
    return /*#__PURE__*/_react.default.createElement(_designSystem.Box, {
      key: item.id,
      minWidth: 0,
      __self: this,
      __source: {
        fileName: _jsxFileName,
        lineNumber: 21,
        columnNumber: 11
      }
    }, /*#__PURE__*/_react.default.createElement(_designSystem.Text, {
      ellipsis: true,
      size: "small",
      __self: this,
      __source: {
        fileName: _jsxFileName,
        lineNumber: 22,
        columnNumber: 13
      }
    }, item.name), /*#__PURE__*/_react.default.createElement(_designSystem.Text, {
      size: "small",
      __self: this,
      __source: {
        fileName: _jsxFileName,
        lineNumber: 25,
        columnNumber: 13
      }
    }, "\xA0", '>', "\xA0"));
  }));
}
//# sourceMappingURL=TextBreadcrumbs.js.map