'use client'; import { Clock, Trash2, RotateCcw } from 'lucide-react'; import Image from 'next/image'; import type { HistoryItem } from '../lib/types'; import { CONTENT_TYPE_LABELS } from '../lib/types'; interface QRHistoryProps { history: HistoryItem[]; onSelect: (item: HistoryItem) => void; onClear: () => void; } export default function QRHistory({ history, onSelect, onClear }: QRHistoryProps) { if (history.length === 0) { return (
Aucun historique
Vos QR Codes récents apparaîtront ici