import Styles from "@/constants/Styles";
import { AntDesign, MaterialCommunityIcons, MaterialIcons } from "@expo/vector-icons";
import { Text, View } from "react-native";
type Props = {
category: 'nik' | 'group' | 'position' | 'phone' | 'email' | 'gender'
value: string
}
const data = {
nik: {
label: 'NIK',
icon:
},
group: {
label: 'Lembaga Desa',
icon:
},
position: {
label: 'Jabatan',
icon:
},
phone: {
label: 'No Telepon',
icon:
},
email: {
label: 'Email',
icon:
},
gender: {
label: 'Jenis Kelamin',
icon:
},
}
export default function ItemDetailMember({ category, value }: Props) {
return (
{data[category].icon}
{data[category].label}
{value}
)
}