// Metro module 1841 (f1842). import { useMemo } from "react"; import { View, StyleSheet, Platform } from "react-native"; import { useWindowDimensions } from "./useResizeMode"; import { RCTOverKeyboardView } from "./Module1596"; Platform; const styles = StyleSheet.create({ absolute: { position: "absolute" }, stretch: { top: 0, bottom: 0, left: 0, right: 0 } }); export default (a0) => { const children = a0.children; let visible = a0.visible; const windowDimensions = useWindowDimensions(); const { height, width } = windowDimensions; const memo = useMemo(() => [styles.absolute, void 0, styles.stretch], [useMemo(() => ({ height, width }), [height, width])]); const props = { visible, children: null }; if (visible) { visible = children; } props.children = {visible}; return ; };