sapo-components-ui-rn 1.1.69 → 1.1.71
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
|
@@ -5799,7 +5799,7 @@ var TextInputNumber = function (_a) {
|
|
|
5799
5799
|
borderRadius: BORDER_RADIUS_6,
|
|
5800
5800
|
},
|
|
5801
5801
|
{
|
|
5802
|
-
height: height ? height :
|
|
5802
|
+
height: height ? height : 48,
|
|
5803
5803
|
},
|
|
5804
5804
|
[
|
|
5805
5805
|
styles$c.border,
|
|
@@ -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 ? "
|
|
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.");
|