first commit

This commit is contained in:
2026-03-10 16:18:05 +00:00
commit 11f9c069b5
31635 changed files with 3187747 additions and 0 deletions

View File

@@ -0,0 +1,28 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.isModalPresentation = isModalPresentation;
const MODAL_PRESENTATIONS = [
'modal',
'transparentModal',
'fullScreenModal',
'formSheet',
'pageSheet',
'containedModal',
'containedTransparentModal',
];
/**
* Helper to determine if a given screen should be treated as a modal-type presentation
*
* @param options - The navigation options.
* @returns Whether the screen should be treated as a modal-type presentation.
*
* @internal
*/
function isModalPresentation(options) {
const presentation = options?.presentation;
if (!presentation) {
return false;
}
return MODAL_PRESENTATIONS.includes(presentation);
}
//# sourceMappingURL=stackPresentation.js.map