import { Tooltip, TooltipContent, TooltipTrigger } from "@rallly/ui/tooltip"; import { useParticipants } from "@/components/participants-provider"; const ListNames = ({ participantIds }: { participantIds: string[] }) => { const { participants } = useParticipants(); const participantNameById = participants.reduce>( (acc, curr) => { acc[curr.id] = curr.name; return acc; }, {}, ); return ( ); }; export const VoteSummaryProgressBar = (props: { total: number; yes: string[]; ifNeedBe: string[]; no: string[]; }) => { return (
); };