import type { Notification } from '@/lib/types'; import { MarkReadButton } from '@/components/notifications/MarkReadButton'; const TYPE_LABELS: Record = { mention: 'メンション', todo_assigned: 'ToDo担当', todo_due_soon: 'ToDo期限', meeting_invited: 'ミーティング招待', board_commented: '掲示板コメント', project_added: 'プロジェクト追加', file_shared: 'ファイル共有', note_updated: 'メモ更新', }; export function NotificationList({ notifications, }: { notifications: Notification[]; }) { if (notifications.length === 0) { return

未読の通知はありません。

; } return ( ); }