sapo-components-ui-rn 1.0.49 → 1.0.50

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
@@ -6169,7 +6169,7 @@ var ViewVisibleAnimated = React__default.memo(React__default.forwardRef(function
6169
6169
  handleShow({ callback: callback, durationShow: durationShow });
6170
6170
  };
6171
6171
  var handleShow = function (_a) {
6172
- var callback = _a.callback, durationShow = _a.durationShow, _b = _a.position, position = _b === void 0 ? "top" : _b;
6172
+ var callback = _a.callback, durationShow = _a.durationShow, _b = _a.position, position = _b === void 0 ? "bottom" : _b;
6173
6173
  if (TIME_OUT)
6174
6174
  clearTimeout(TIME_OUT);
6175
6175
  TIME_OUT = setTimeout(function () {
@@ -6929,7 +6929,7 @@ var styles = StyleSheet.create(__assign({}, containerStyles));
6929
6929
 
6930
6930
  var toastRef = React__default.createRef();
6931
6931
  var showToast = function (_a) {
6932
- var message = _a.message, _b = _a.duration, duration = _b === void 0 ? 5000 : _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;
6932
+ var message = _a.message, _b = _a.duration, duration = _b === void 0 ? 5000 : _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;
6933
6933
  if (!toastRef.current) {
6934
6934
  console.warn("Toast component is not mounted. Make sure to add <ToastProvider> to your app.");
6935
6935
  return;