dhre-ui-kit 0.0.265 → 0.0.267
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/lib/index.d.ts +4 -4
- package/lib/index.js +3 -2
- package/lib/index.js.map +1 -1
- package/lib/index.mjs +3 -2
- package/lib/index.mjs.map +1 -1
- package/package.json +2 -2
package/lib/index.mjs
CHANGED
|
@@ -3711,14 +3711,15 @@ class ToastService {
|
|
|
3711
3711
|
setRef(ref) {
|
|
3712
3712
|
this.toastRef = ref;
|
|
3713
3713
|
}
|
|
3714
|
-
showToast(message, duration = 3e3, isSuccess = true, buttonText = null, buttonAction = null) {
|
|
3714
|
+
showToast(message, duration = 3e3, isSuccess = true, buttonText = null, buttonAction = null, height = 72) {
|
|
3715
3715
|
if (this.toastRef) {
|
|
3716
3716
|
this.toastRef.showToast(
|
|
3717
3717
|
message,
|
|
3718
3718
|
duration,
|
|
3719
3719
|
isSuccess,
|
|
3720
3720
|
buttonText,
|
|
3721
|
-
buttonAction
|
|
3721
|
+
buttonAction,
|
|
3722
|
+
height
|
|
3722
3723
|
);
|
|
3723
3724
|
}
|
|
3724
3725
|
}
|