2025-08-20 11:34:28 +01:00
|
|
|
import React from 'react';
|
|
|
|
import { useTranslation } from 'react-i18next';
|
|
|
|
import { UnlockPdfFormsParameters } from '../../../hooks/tools/unlockPdfForms/useUnlockPdfFormsParameters';
|
|
|
|
|
|
|
|
interface UnlockPdfFormsSettingsProps {
|
|
|
|
parameters: UnlockPdfFormsParameters;
|
|
|
|
onParameterChange: <K extends keyof UnlockPdfFormsParameters>(parameter: K, value: UnlockPdfFormsParameters[K]) => void;
|
|
|
|
disabled?: boolean;
|
|
|
|
}
|
|
|
|
|
2025-09-05 12:16:17 +01:00
|
|
|
const UnlockPdfFormsSettings: React.FC<UnlockPdfFormsSettingsProps> = (_) => {
|
2025-08-20 11:34:28 +01:00
|
|
|
const { t } = useTranslation();
|
|
|
|
|
|
|
|
return (
|
|
|
|
<div className="unlock-pdf-forms-settings">
|
|
|
|
<p className="text-muted">
|
|
|
|
{t('unlockPDFForms.description', 'This tool will remove read-only restrictions from PDF form fields, making them editable and fillable.')}
|
|
|
|
</p>
|
|
|
|
</div>
|
|
|
|
);
|
|
|
|
};
|
|
|
|
|
2025-09-05 12:16:17 +01:00
|
|
|
export default UnlockPdfFormsSettings;
|