This commit is contained in:
Philip Cesar Garay
2025-07-31 21:25:33 +08:00
parent 5cfbc81e3a
commit 84fc719a10
307 changed files with 46470 additions and 0 deletions
+43
View File
@@ -0,0 +1,43 @@
import { View } from "react-native";
import { Motion } from "@legendapp/motion";
import useLayoutType from "../hooks/useLayoutType";
import Home from "../screens/Home";
import { Style } from "../styles";
export default ({ currentUID = null, children }) => {
const { isWeb = false } = useLayoutType();
const sharedPanelStyle = {
...(isWeb ? {} : {}),
};
const mainContainer = {
flex: 1,
...(isWeb ? { maxHeight: "100svh" } : {}),
};
return (
<View
style={{
...mainContainer,
flexDirection: "row-reverse",
}}
>
<View
style={{
flex: 2,
position: "relative",
...Style.defaultBorder,
borderTopWidth: 0,
borderBottomWidth: 0,
...sharedPanelStyle,
}}
>
{children}
</View>
</View>
);
};