mirror of
https://github.com/Stirling-Tools/Stirling-PDF.git
synced 2025-09-18 09:29:24 +00:00

# Description of Changes Enable ESLint [no-unused-vars rule](https://typescript-eslint.io/rules/no-unused-vars/)
24 lines
835 B
TypeScript
24 lines
835 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> = (_) => {
|
|
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;
|