react-crud-mobile 1.0.618 → 1.0.620

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.
@@ -113,10 +113,20 @@ function UIChildren(props) {
113
113
  var getStyle = function getStyle(part) {
114
114
  var key = reactCrudUtils.Utils.nvl(part, 'root');
115
115
  var def = styles[key];
116
+ var css = {};
116
117
  if (!reactCrudUtils.Utils.isEmpty(props.style)) {
117
- console.log(props.style);
118
+ var _props$style;
119
+ if ((_props$style = props.style) != null && _props$style.push) {
120
+ reactCrudUtils.Utils.each(props.style, function (s) {
121
+ if (s) {
122
+ css = _extends({}, css, s);
123
+ }
124
+ });
125
+ } else {
126
+ css = _extends({}, props.style);
127
+ }
118
128
  }
119
- return _extends({}, def, scope.getStyle(part));
129
+ return _extends({}, def, css, scope.getStyle(part));
120
130
  };
121
131
  return /*#__PURE__*/jsxRuntime.jsx(jsxRuntime.Fragment, {
122
132
  children: /*#__PURE__*/jsxRuntime.jsx(reactNative.View, {
@@ -706,6 +716,7 @@ function UIListRow(props) {
706
716
  }, "k-" + index);
707
717
  }
708
718
  return /*#__PURE__*/jsxRuntime.jsx(reactNative.TouchableHighlight, {
719
+ style: getRowStyle(),
709
720
  underlayColor: 'transparent',
710
721
  onPress: function onPress(e) {
711
722
  e.stopPropagation();