import React from 'react'; import { useTranslation } from 'react-i18next'; import { TrashIcon } from '@heroicons/react/24/outline'; interface TaskActionsProps { taskId: number | undefined; onDelete: () => void; onSave: () => void; onCancel: () => void; } const TaskActions: React.FC = ({ taskId, onDelete, onSave, onCancel, }) => { const { t } = useTranslation(); return (
{taskId && ( )}
); }; export default TaskActions;