"use strict";

Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.truncateContent = void 0;
var _react = _interopRequireDefault(require("react"));
var _truncateWithTooltip = _interopRequireDefault(require("./truncate-with-tooltip"));
var _jsxRuntime = require("react/jsx-runtime");
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
/** Helper function that applies truncation to the text content */
const truncateContent = content => /*#__PURE__*/(0, _jsxRuntime.jsx)(_truncateWithTooltip.default, {
  children: /*#__PURE__*/(0, _jsxRuntime.jsx)("span", {
    children: content
  })
});
exports.truncateContent = truncateContent;