'use client' import { ChevronUpIcon } from '@heroicons/react/20/solid' import type { VoteState } from '@/types/changelog' export function RoadmapItem({ id, title, description, status, vote, onVote, }: { id: string title: string description: string status: 'planned' | 'in-progress' vote: VoteState onVote: (id: string) => void }) { const statusBadgeClass = status === 'in-progress' ? 'border-amber-500/25 bg-amber-500/10 text-amber-400' : 'border-zinc-700 bg-zinc-800/40 text-zinc-500' return (
{title}
{description}