// @flow import { DrawerContentScrollView, DrawerItem } from "@react-navigation/drawer"; import type { Node } from "react"; import React from "react"; import useCurrentUser from "sharedHooks/useCurrentUser"; type Props = { state: any, navigation: any, descriptors: any } const CustomDrawerContent = ( { ...props }: Props ): Node => { // $FlowFixMe const { state, navigation, descriptors } = props; const currentUser = useCurrentUser( ); return ( navigation.navigate( "search" )} /> navigation.navigate( "Identify" )} /> navigation.navigate( "Projects" )} /> navigation.navigate( "about" )} /> navigation.navigate( "settings" )} /> navigation.navigate( "network" )} /> navigation.navigate( "UI Library" )} /> navigation.navigate( "Login" )} /> ); }; export default CustomDrawerContent;