@k-link/notifications
Version:
Notification system based on Klink UI components
17 lines (13 loc) • 413 B
JavaScript
;
Object.defineProperty(exports, '__esModule', { value: true });
function getAutoClose(autoClose, notificationAutoClose) {
if (typeof notificationAutoClose === "number") {
return notificationAutoClose;
}
if (notificationAutoClose === false || autoClose === false) {
return false;
}
return autoClose;
}
exports["default"] = getAutoClose;
//# sourceMappingURL=get-auto-close.js.map