end of home
This commit is contained in:
+12
-6
@@ -3,14 +3,12 @@ import { Image, View } from "react-native";
|
||||
import { KeyboardAwareScrollView } from "react-native-keyboard-aware-scroll-view";
|
||||
import { SafeAreaView } from "react-native-safe-area-context";
|
||||
import React from "reactn";
|
||||
|
||||
import { responsiveHeight } from "../actions/responsiveSizes.js";
|
||||
import BaseHeader from "../components/BaseHeader";
|
||||
import NavigateHeader from "../components/NavigateHeader";
|
||||
import { gutters } from "../styles";
|
||||
|
||||
import { isWeb } from "../hooks/useLayoutType.js";
|
||||
// import { useUserData } from "../providers/UserDataProvider.js";
|
||||
import ShareBtn from "../components/ShareBtn/ShareBtn";
|
||||
|
||||
export default ({
|
||||
children,
|
||||
@@ -35,10 +33,9 @@ export default ({
|
||||
headerTitleStyle = {},
|
||||
hideBackButton = false,
|
||||
width = undefined,
|
||||
maxWidth = null,
|
||||
maxWidth = 1200,
|
||||
shareBtn = false,
|
||||
}) => {
|
||||
// const { currentUID } = useUserData();
|
||||
|
||||
const PageContainer =
|
||||
containerType === "SAFE_AREA_VIEW" ? SafeAreaView : View;
|
||||
|
||||
@@ -112,6 +109,15 @@ export default ({
|
||||
</PageContainer>
|
||||
|
||||
{bottomStickyContent?.()}
|
||||
{shareBtn && isWeb && (
|
||||
<ShareBtn
|
||||
style={{
|
||||
position: "absolute",
|
||||
top: 20,
|
||||
right: 20,
|
||||
}}
|
||||
/>
|
||||
)}
|
||||
</View>
|
||||
);
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user