2025-08-19 18:00:50 +01:00
|
|
|
import React from 'react';
|
|
|
|
import { useTranslation } from 'react-i18next';
|
|
|
|
import { RepairParameters } from '../../../hooks/tools/repair/useRepairParameters';
|
|
|
|
|
|
|
|
interface RepairSettingsProps {
|
|
|
|
parameters: RepairParameters;
|
|
|
|
onParameterChange: <K extends keyof RepairParameters>(parameter: K, value: RepairParameters[K]) => void;
|
|
|
|
disabled?: boolean;
|
|
|
|
}
|
|
|
|
|
2025-09-05 12:16:17 +01:00
|
|
|
const RepairSettings: React.FC<RepairSettingsProps> = (_) => {
|
2025-08-19 18:00:50 +01:00
|
|
|
const { t } = useTranslation();
|
|
|
|
|
|
|
|
return (
|
|
|
|
<div className="repair-settings">
|
|
|
|
<p className="text-muted">
|
|
|
|
{t('repair.description', 'This tool will attempt to repair corrupted or damaged PDF files. No additional settings are required.')}
|
|
|
|
</p>
|
|
|
|
</div>
|
|
|
|
);
|
|
|
|
};
|
|
|
|
|
2025-09-05 12:16:17 +01:00
|
|
|
export default RepairSettings;
|