arengibook 2.5.5 → 2.5.501
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.js +5 -3
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -42863,14 +42863,16 @@ var showToast = function showToast(props) {
|
|
|
42863
42863
|
if (toastRef) {
|
|
42864
42864
|
toastRef.show({
|
|
42865
42865
|
severity: props.type || 'info',
|
|
42866
|
-
|
|
42866
|
+
summary: props.title || '',
|
|
42867
42867
|
sticky: props.sticky,
|
|
42868
42868
|
closable: props.closable !== false,
|
|
42869
|
-
|
|
42869
|
+
life: props.duration || 3000,
|
|
42870
|
+
content: props.enableHtmlContent ? function () {
|
|
42870
42871
|
return /*#__PURE__*/React__default.createElement(Toast, _extends$G({}, props, {
|
|
42871
42872
|
autoShow: false
|
|
42872
42873
|
}));
|
|
42873
|
-
}
|
|
42874
|
+
} : undefined,
|
|
42875
|
+
detail: !props.enableHtmlContent ? props.message : undefined
|
|
42874
42876
|
});
|
|
42875
42877
|
}
|
|
42876
42878
|
}, 0);
|