// Module ID: 8551 // Function ID: 8552 // Name: ModalScreen // Dependencies: [19, 17, 21, 4638, 576, 7091, 2] // Exports: ModalScreen // Module 8551 (ModalScreen) import nativeDefault from "native" /* 576 */; import useSafeAreaInsetsKeyboardAwareDefault from "useSafeAreaInsetsKeyboardAware" /* 7091 */; import noop from "module_19" /* 19 */; const View = fn(17).View; const jsx = fn(21).jsx; const createStyles = fn(4638); const obj2 = { container: { flex: 1, flexDirection: "column", backgroundColor: nativeDefault.colors.BACKGROUND_BASE_LOW } }; let closure_4 = createStyles.createStyles(obj2); const size = fn(2); const result = size.fileFinishedImporting("design/components/Modal/native/ModalScreen.native.tsx"); export const ModalScreen = function ModalScreen(children) { let backgroundColor = children.backgroundColor; const tmp = closure_4(); 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}; };