@loja-integrada/admin-components 0.18.2 → 0.18.3
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.
- package/dist/admin-components.cjs.development.js +4 -0
- package/dist/admin-components.cjs.development.js.map +1 -1
- package/dist/admin-components.cjs.production.min.js +1 -1
- package/dist/admin-components.cjs.production.min.js.map +1 -1
- package/dist/admin-components.esm.js +4 -0
- package/dist/admin-components.esm.js.map +1 -1
- package/package.json +1 -1
- package/src/Indicators/Tooltip/Tooltip.tsx +4 -0
|
@@ -2878,6 +2878,10 @@ var TooltipComponent = function TooltipComponent(props) {
|
|
|
2878
2878
|
computedProps.content = mounted ? props.content : '';
|
|
2879
2879
|
}
|
|
2880
2880
|
|
|
2881
|
+
if (typeof window === 'undefined') {
|
|
2882
|
+
return React__default.createElement(React__default.Fragment, null, props.children);
|
|
2883
|
+
}
|
|
2884
|
+
|
|
2881
2885
|
return React__default.createElement(StyledTooltipComponent, Object.assign({}, computedProps, {
|
|
2882
2886
|
appendTo: (props == null ? void 0 : props.appendTo) || 'parent',
|
|
2883
2887
|
hideOnClick: (props == null ? void 0 : props.hideOnClick) || false,
|