import _defineProperty from "@babel/runtime/helpers/esm/defineProperty"; import classNames from 'classnames'; import * as React from 'react'; var Indent = function Indent(_ref) { var prefixCls = _ref.prefixCls, level = _ref.level, isStart = _ref.isStart, isEnd = _ref.isEnd; var baseClassName = "".concat(prefixCls, "-indent-unit"); var list = []; for (var i = 0; i < level; i += 1) { list.push( /*#__PURE__*/React.createElement("span", { key: i, className: classNames(baseClassName, _defineProperty(_defineProperty({}, "".concat(baseClassName, "-start"), isStart[i]), "".concat(baseClassName, "-end"), isEnd[i])) })); } return /*#__PURE__*/React.createElement("span", { "aria-hidden": "true", className: "".concat(prefixCls, "-indent") }, list); }; export default /*#__PURE__*/React.memo(Indent);