@luminati-io/uikit 6.2.1-beta.1 → 6.2.1-beta.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -46156,7 +46156,8 @@ var _Tooltip = function Tooltip(_ref) {
46156
46156
  ref: setArrowElement,
46157
46157
  style: styles.arrow
46158
46158
  }, attributes.arrow))) : null;
46159
- if (wrap) {
46159
+ var childrenCount = react__WEBPACK_IMPORTED_MODULE_1__.Children.count(children);
46160
+ if (wrap || childrenCount > 1) {
46160
46161
  return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement((react__WEBPACK_IMPORTED_MODULE_1___default().Fragment), null, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(StyledTooltipReference, _extends({
46161
46162
  ref: setReferenceElement,
46162
46163
  className: className