This commit is contained in:
janisslsm committed 2026-11-01 12:12:55 +02:00
1 parent 1781d25a15
commit 732c0ad767
33051 files changed
+2591613 -3019689

No files matched your search

+36
View File
@@ -0,0 +1,36 @@
// 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 = <View collapsable={false} style={memo}>{visible}</View>;
return <RCTOverKeyboardView {...props} />;
};