import _extends from "@babel/runtime/helpers/extends";
/**
 * Public API — exported externally. Do not add props without external support intent.
 */
import React from 'react';
import Title from '../view/FlexibleCard/components/elements/title-element';
export var TitleElement = function TitleElement(props) {
  return /*#__PURE__*/React.createElement(Title, _extends({
    hideTooltip: props === null || props === void 0 ? void 0 : props.hideTooltip,
    maxLines: props === null || props === void 0 ? void 0 : props.maxLines,
    target: props === null || props === void 0 ? void 0 : props.target,
    theme: props === null || props === void 0 ? void 0 : props.theme,
    size: props === null || props === void 0 ? void 0 : props.size,
    testId: props === null || props === void 0 ? void 0 : props.testId
  }, props !== null && props !== void 0 && props.text ? {
    text: props === null || props === void 0 ? void 0 : props.text
  } : undefined));
};