sapo-components-ui-rn 1.1.68 → 1.1.70

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/dist/index.esm.js CHANGED
@@ -7719,7 +7719,7 @@ var index = React__default.memo(NumberKeyboard);
7719
7719
 
7720
7720
  var toastRef = React__default.createRef();
7721
7721
  var showToast = function (_a) {
7722
- var message = _a.message, _b = _a.duration, duration = _b === void 0 ? 3000 : _b, _c = _a.position, position = _c === void 0 ? "bottom" : _c, _d = _a.type, type = _d === void 0 ? "success" : _d, _e = _a.onPress, onPress = _e === void 0 ? function () { } : _e, title = _a.title, _f = _a.spacer, spacer = _f === void 0 ? "normal" : _f;
7722
+ var message = _a.message, _b = _a.duration, duration = _b === void 0 ? 3000 : _b, _c = _a.position, position = _c === void 0 ? "top" : _c, _d = _a.type, type = _d === void 0 ? "success" : _d, _e = _a.onPress, onPress = _e === void 0 ? function () { } : _e, title = _a.title, _f = _a.spacer, spacer = _f === void 0 ? "normal" : _f;
7723
7723
  Keyboard.dismiss();
7724
7724
  if (!toastRef.current) {
7725
7725
  console.warn("Toast component is not mounted. Make sure to add <ToastProvider> to your app.");