@luminati-io/uikit 3.0.12 → 3.0.13
Sign up to get free protection for your applications and to get access to all the features.
@@ -31492,7 +31492,7 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
|
|
31492
31492
|
* use flexRender instead of `cell.getValue()` or `cell.renderValue()`.
|
31493
31493
|
*/
|
31494
31494
|
var flexRender = function flexRender(Comp, props) {
|
31495
|
-
return !Comp ? null : isReactComponent(Comp) ? /*#__PURE__*/
|
31495
|
+
return !Comp ? null : isReactComponent(Comp) ? /*#__PURE__*/(0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)(Comp, props) : /*#__PURE__*/(0,react__WEBPACK_IMPORTED_MODULE_0__.cloneElement)(Comp, props);
|
31496
31496
|
};
|
31497
31497
|
var isReactComponent = function isReactComponent(component) {
|
31498
31498
|
return isClassComponent(component) || typeof component === 'function' || isExoticComponent(component);
|