primereact 7.0.0-rc.1 → 7.0.0-rc.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.
package/primereact.all.js CHANGED
@@ -24046,17 +24046,7 @@ var primereact = (function (exports, React, reactTransitionGroup, ReactDOM) {
24046
24046
  value: function getColumns(ignoreReorderable) {
24047
24047
  var _this2 = this;
24048
24048
 
24049
- var isValidType = function isValidType(type) {
24050
- return type.name === 'Column';
24051
- };
24052
-
24053
- var columns = React__default['default'].Children.toArray(this.props.children).reduce(function (arr, child) {
24054
- var type = child && child.type;
24055
- type && (isValidType(type) ? arr.push(child) : type.toString() === 'Symbol(react.fragment)' && (arr = [].concat(_toConsumableArray(arr), _toConsumableArray(React__default['default'].Children.toArray(child.props.children).filter(function (c) {
24056
- return isValidType(c.type);
24057
- })))));
24058
- return arr;
24059
- }, []);
24049
+ var columns = React__default['default'].Children.toArray(this.props.children);
24060
24050
 
24061
24051
  if (!columns) {
24062
24052
  return null;