'use client' import { Edit2, MoreVertical, FileText } from 'lucide-react' import { Button } from '@/components/ui/button' import { useLanguage } from '@/lib/i18n' import { DropdownMenu, DropdownMenuContent, DropdownMenuItem, DropdownMenuTrigger, } from '@/components/ui/dropdown-menu' interface NotebookActionsProps { notebook: any onEdit: () => void onDelete: () => void onSummary?: () => void // NEW: Summary action callback (IA6) } export function NotebookActions({ notebook, onEdit, onDelete, onSummary }: NotebookActionsProps) { const { t } = useLanguage() return (
{onSummary && ( {t('notebook.summary')} )} {t('notebook.edit')} {t('notebook.delete')}
) }