'use client' /** * RoadmapVoteButton — small thumbs-up / thumbs-down vote button used by * `RoadmapCard`'s `default` variant. Pure presentation; click handler * comes from the parent (typically a `useRoadmapVoting` hook). */ import React from 'react' import { ThumbsUpIcon } from '../../icons/thumbs-up-icon' import { ThumbsDownIcon } from '../../icons/thumbs-down-icon' import { Button } from '../../ui/button/button' import { cn } from '../../../utils/cn' export interface RoadmapVoteButtonProps { voteType: 'up' | 'down' count: number isActive: boolean onClick: () => void disabled?: boolean showCount?: boolean color?: string className?: string } export function RoadmapVoteButton({ voteType, count, isActive, onClick, disabled = false, showCount = true, color, className, }: RoadmapVoteButtonProps) { const Icon = voteType === 'up' ? ThumbsUpIcon : ThumbsDownIcon return ( ) }