import { BoxWithHeaderSection, ButtonCustom, Spacing, StackCustom, TextCustom } from "@/components"; import { RadioCustom, RadioGroup } from "@/components/Radio/RadioCustom"; import { useState } from "react"; import { View } from "react-native"; import { Voting_ComponentDetailDataSection } from "./ComponentDetailDataSection"; export function Voting_BoxDetailPublishSection({ headerAvatar, }: { headerAvatar?: React.ReactNode; }) { const [value, setValue] = useState(""); return ( <> {headerAvatar ? headerAvatar : } Pilihan : {Array.from({ length: 4 }).map((_, i) => ( ))} console.log("vote")}>Vote ); }