decord/source/design/components/Modal/native/ModalScreen.native.tsx

35 lines
1.4 KiB
TypeScript
Raw Normal View History

2026-07-25 08:10:48 +00:00
// Module ID: 6725
2026-07-27 11:26:19 +00:00
// Function ID: 59323
2026-07-20 16:05:17 +00:00
// Name: ModalScreen
2026-07-25 08:10:48 +00:00
// Dependencies: [31, 27, 33, 4131, 689, 5159, 2]
2026-07-20 16:05:17 +00:00
// Exports: ModalScreen
2026-07-25 08:10:48 +00:00
// Module 6725 (ModalScreen)
2026-07-23 10:11:24 +00:00
import "result";
import { View } from "get ActivityIndicator";
import { jsx } from "jsxProd";
import _createForOfIteratorHelperLoose from "_createForOfIteratorHelperLoose";
_createForOfIteratorHelperLoose = {};
_createForOfIteratorHelperLoose = { flex: 1, flexDirection: "column", backgroundColor: require("_createForOfIteratorHelperLoose").colors.BACKGROUND_BASE_LOW };
_createForOfIteratorHelperLoose.container = _createForOfIteratorHelperLoose;
_createForOfIteratorHelperLoose = _createForOfIteratorHelperLoose.createStyles(_createForOfIteratorHelperLoose);
const result = require("jsxProd").fileFinishedImporting("design/components/Modal/native/ModalScreen.native.tsx");
2026-07-20 16:05:17 +00:00
export const ModalScreen = function ModalScreen(backgroundColor) {
backgroundColor = backgroundColor.backgroundColor;
2026-07-23 10:11:24 +00:00
const tmp = _createForOfIteratorHelperLoose();
2026-07-20 16:05:17 +00:00
let obj = {};
const items = [tmp.container, ];
obj = {};
if (null == backgroundColor) {
backgroundColor = tmp.container.backgroundColor;
}
obj.backgroundColor = backgroundColor;
2026-07-25 08:10:48 +00:00
({ left: obj2.paddingLeft, right: obj2.paddingRight, bottom: obj2.paddingBottom } = importDefault(5159)().insets);
2026-07-20 16:05:17 +00:00
items[1] = obj;
obj.style = items;
obj.children = backgroundColor.children;
2026-07-23 10:11:24 +00:00
return <View />;
2026-07-20 16:05:17 +00:00
};