import { Heart, HeartSolid } from 'iconoir-react'; import { Link } from 'react-router'; import StarRating from '../../shared/StarRating'; import type { FillerComment } from '../../../utils/filler-brewery-detail'; interface CommentItemProps { comment: FillerComment; onToggleLike: (id: string) => void; } const CommentItem = ({ comment, onToggleLike }: CommentItemProps) => { const likeCount = comment.likes + (comment.liked ? 1 : 0); return (
{comment.text}