import { View, Text, Image, TouchableOpacity } from 'react-native' import React from 'react' import TabBar from '../themes/TabBar' import { ChevronLeftIcon } from 'react-native-heroicons/outline' import { widthPercentageToDP as wp, heightPercentageToDP as hp, heightPercentageToDP } from 'react-native-responsive-screen'; import usersData from '../constants/usersData'; import { ScrollView } from 'react-native'; import { useNavigation } from '@react-navigation/native'; export default function InviteFriendsScreen() { const navigation = useNavigation() return ( } titleStyle={{ color: "black", fontWeight: "bold", fontSize: 20 }} prefixStyle={{ backgroundColor: "transparent" }} suffixStyle={{ backgroundColor: "white", borderWidth: 1, borderColor: "black" }} containerStyle="" suffixAction={() => navigation.goBack()} /> { usersData.map((item, index) => { return ( {item.name} {item.num} Invite ) }) } ) }