mirror of
https://github.com/lemeow125/Reactnative-notesapp.git
synced 2025-04-17 23:41:24 +08:00
27 lines
888 B
TypeScript
27 lines
888 B
TypeScript
import { View, Image, Text } from "react-native";
|
|
import type { DrawerNavigationOptions } from "@react-navigation/drawer";
|
|
import AppIcon from "../../Icons/AppIcon/AppIcon";
|
|
import PreviousSessionChecker from "../../PreviousSessionChecker/PreviousSessionChecker";
|
|
const DrawerScreenSettings: DrawerNavigationOptions = {
|
|
headerTitleStyle: { color: "white", fontSize: 26 },
|
|
unmountOnBlur: true,
|
|
headerStyle: { backgroundColor: "#0087e4" },
|
|
headerTintColor: "white",
|
|
drawerType: "slide",
|
|
drawerLabelStyle: {
|
|
color: "white",
|
|
},
|
|
drawerStyle: {
|
|
backgroundColor: "#002d4d",
|
|
width: 260,
|
|
},
|
|
headerRight: () => (
|
|
<View
|
|
style={{ flexDirection: "row", marginRight: 16, alignItems: "center" }}
|
|
>
|
|
<PreviousSessionChecker />
|
|
<AppIcon size={32} color="white" />
|
|
</View>
|
|
),
|
|
};
|
|
export default DrawerScreenSettings;
|