// Module ID: 8660 // Function ID: 8661 // Name: ModalScreen // Dependencies: [19, 17, 21, 4448, 712, 5562, 2] // Exports: ModalScreen // Module 8660 (ModalScreen) import noopAll from "noop" /* 19 */; import ThemesDefault from "Themes" /* 712 */; import useSafeAreaInsetsKeyboardAwareDefault from "useSafeAreaInsetsKeyboardAware" /* 5562 */; import { View } from "get ActivityIndicator" /* 17 */; import { jsx } from "jsxProd" /* 21 */; import createCacheKey from "createCacheKey" /* 4448 */; noopAll; createCacheKey = { container: null }; createCacheKey = { flex: 1, flexDirection: "column", backgroundColor: ThemesDefault.colors.BACKGROUND_BASE_LOW }; createCacheKey[0] = createCacheKey; let closure_4 = createCacheKey.createStyles(createCacheKey); const result = require("set").fileFinishedImporting("design/components/Modal/native/ModalScreen.native.tsx"); export const ModalScreen = function ModalScreen(children) { let backgroundColor = children.backgroundColor; const tmp = callback(); const insets = useSafeAreaInsetsKeyboardAwareDefault().insets; const style = [tmp.container, ]; if (backgroundColor == null) { backgroundColor = tmp.container.backgroundColor; } style[1] = { backgroundColor, paddingLeft: insets.left, paddingRight: insets.right, paddingBottom: insets.bottom }; return {arg0.children}; };