'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' import { Notebook } from '@/lib/types' interface NotebookActionsProps { notebook: Notebook onEdit: () => void onDelete: () => void onSummary?: () => void } export function NotebookActions({ notebook, onEdit, onDelete, onSummary }: NotebookActionsProps) { const { t } = useLanguage() return ( {onSummary && ( {t('notebook.summary')} )} {t('notebook.edit')} {t('notebook.delete')} ) }