react-crud-mobile 1.3.289 → 1.3.291

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.
@@ -797,19 +797,20 @@ function UIInput(props) {
797
797
  }
798
798
  return /*#__PURE__*/jsx(Fragment, {});
799
799
  };
800
- var type = scope.getPart('type', 'none');
800
+ var type = scope.getPart('type', 'text');
801
801
  var decode = {
802
802
  textarea: {
803
803
  multiline: true,
804
- textAlignVertical: 'top'
804
+ textAlignVertical: 'top',
805
+ numberOfLines: 5
805
806
  }
806
807
  };
807
- var defs = Utils.nvl(decode[type], {});
808
+ var defs = _extends({}, Utils.nvl(decode[type], {}), scope.original.inputProps);
808
809
  return /*#__PURE__*/jsxs(Fragment, {
809
810
  children: [/*#__PURE__*/jsxs(View, {
810
811
  style: style('base'),
811
812
  children: [scope.getPart('left'), /*#__PURE__*/jsx(TextInput, _extends({
812
- style: style('input'),
813
+ style: style('input', scope.getStyle(type)),
813
814
  onChangeText: onChange,
814
815
  value: value,
815
816
  placeholder: placeholder
@@ -2573,6 +2574,11 @@ var UI = {
2573
2574
  type: "text"
2574
2575
  }));
2575
2576
  },
2577
+ Textarea: function Textarea(props) {
2578
+ return /*#__PURE__*/jsx(UIElement, _extends({}, props, {
2579
+ type: "textarea"
2580
+ }));
2581
+ },
2576
2582
  Email: function Email(props) {
2577
2583
  return /*#__PURE__*/jsx(UIElement, _extends({}, props, {
2578
2584
  type: "email"