react-crud-mobile 1.0.837 → 1.0.839

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.
@@ -1405,7 +1405,7 @@ function UIView(_ref) {
1405
1405
  children: children
1406
1406
  })
1407
1407
  })
1408
- })]
1408
+ }), /*#__PURE__*/jsxRuntime.jsx(Toast, {})]
1409
1409
  });
1410
1410
  }
1411
1411
  var styles$9 = /*#__PURE__*/reactNative.StyleSheet.create({
@@ -1449,6 +1449,17 @@ function UIElement(props) {
1449
1449
  scope.updateElement = function () {
1450
1450
  setIndex(++index);
1451
1451
  };
1452
+ scope.toast = function (message, type, args) {
1453
+ if (type === void 0) {
1454
+ type = 'info';
1455
+ }
1456
+ Toast.show(_extends({
1457
+ type: type,
1458
+ text1: message,
1459
+ position: 'bottom',
1460
+ visibilityTime: 3000
1461
+ }, args));
1462
+ };
1452
1463
  scope.prompt = function (args) {
1453
1464
  var event = args.event;
1454
1465
  if (event) {