import * as __WEBPACK_EXTERNAL_MODULE__chakra_ui_react__ from "@chakra-ui/react";
const TruncatedText = ({ tooltipLabel, value, ...props })=>tooltipLabel ? /*#__PURE__*/ React.createElement(__WEBPACK_EXTERNAL_MODULE__chakra_ui_react__.Tooltip, {
        label: tooltipLabel,
        placement: "bottom",
        hasArrow: true,
        "data-testid": "truncated-text-tooltip"
    }, /*#__PURE__*/ React.createElement(__WEBPACK_EXTERNAL_MODULE__chakra_ui_react__.Text, props, value)) : /*#__PURE__*/ React.createElement(__WEBPACK_EXTERNAL_MODULE__chakra_ui_react__.Text, props, value);
/* ESM default export */ const TruncatedText_rslib_entry_ = TruncatedText;
export { TruncatedText_rslib_entry_ as default };
