mirror of
https://github.com/Stirling-Tools/Stirling-PDF.git
synced 2025-09-18 17:39:24 +00:00
27 lines
961 B
TypeScript
27 lines
961 B
TypeScript
![]() |
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;
|
||
|
}
|
||
|
|
||
|
const UnlockPdfFormsSettings: React.FC<UnlockPdfFormsSettingsProps> = ({
|
||
|
parameters,
|
||
|
onParameterChange, // Unused - kept for interface consistency and future extensibility
|
||
|
disabled = false
|
||
|
}) => {
|
||
|
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>
|
||
|
);
|
||
|
};
|
||
|
|
||
|
export default UnlockPdfFormsSettings;
|