import { BoxWithHeaderSection, Spacing, StackCustom, TextCustom, } from "@/components"; import { Voting_ComponentDetailDataSection } from "./ComponentDetailDataSection"; import { Ionicons } from "@expo/vector-icons"; export function Voting_BoxDetailSection({ headerAvatar, data, }: { headerAvatar?: React.ReactNode; data?: any; }) { return ( <> {headerAvatar ? headerAvatar : } Pilihan : {data?.Voting_DaftarNamaVote?.map((item: any, i: number) => ( {item?.value} ))} ); }