@luminati-io/uikit 6.2.1-beta.1 → 6.2.1-beta.2
Sign up to get free protection for your applications and to get access to all the features.
@@ -46156,7 +46156,8 @@ var _Tooltip = function Tooltip(_ref) {
|
|
46156
46156
|
ref: setArrowElement,
|
46157
46157
|
style: styles.arrow
|
46158
46158
|
}, attributes.arrow))) : null;
|
46159
|
-
|
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
|