import { TbTool } from 'react-icons/tb' import PaginatedCardList from '@/components/ui/PaginatedCardList' import type { AIReview } from '../types' interface FavoriteToolsProps { reviews: AIReview[] } export default function FavoriteTools({ reviews }: FavoriteToolsProps) { return ( } subtitle="Based on personal preference" itemsPerPage={3} getItemKey={(review) => review.tool} renderItem={(review) => (

{review.tool}

{review.rating.toFixed(1)}

Pros:

    {review.pros.map((pro, i) => (
  • • {pro}
  • ))}

Cons:

    {review.cons.map((con, i) => (
  • • {con}
  • ))}

{review.verdict}

)} /> ) }