mirror of
https://github.com/lemeow125/StudE-Frontend.git
synced 2025-06-28 16:25:46 +08:00
added dropdown,user icon and user status
This commit is contained in:
parent
596f1c3ebb
commit
caaf113777
3 changed files with 28 additions and 11 deletions
|
@ -16,6 +16,7 @@ import { RootState } from "../../features/redux/Store/Store";
|
|||
import LogoutIcon from "../../icons/LogoutIcon/LogoutIcon";
|
||||
import { clear } from "../../features/redux/slices/AuthSlice/AuthSlice";
|
||||
import AsyncStorage from "@react-native-async-storage/async-storage";
|
||||
import UserIcon from "../../icons/UserIcon/UserIcon";
|
||||
|
||||
export default function CustomDrawerContent(props: {}) {
|
||||
const navigation = useNavigation<RootDrawerParamList>();
|
||||
|
@ -103,7 +104,7 @@ export default function CustomDrawerContent(props: {}) {
|
|||
navigation.navigate("UserInfo");
|
||||
}}
|
||||
>
|
||||
<HomeIcon size={32} />
|
||||
<UserIcon size={32} />
|
||||
<Text style={styles.text_white_medium}>UserInfo</Text>
|
||||
</DrawerButton>
|
||||
{/*
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue