import { Block, Text, theme } from "galio-framework"; import { Image, ScrollView, StyleSheet } from "react-native"; import { DrawerItem as DrawerCustomItem } from "../components"; import Images from "../constants/Images"; import React from "react"; function CustomDrawerContent({ drawerPosition, navigation, profile, focused, state, ...rest }) { const screens = ["Home", "Profile", "Account", "Elements", "Articles"]; return ( {screens.map((item, index) => { return ( ); })} DOCUMENTATION ); } const styles = StyleSheet.create({ container: { flex: 1, }, header: { paddingHorizontal: 28, paddingBottom: theme.SIZES.BASE, paddingTop: theme.SIZES.BASE * 3, justifyContent: "center", }, }); export default CustomDrawerContent;