mirror of
https://github.com/Stirling-Tools/Stirling-PDF.git
synced 2025-08-27 06:39:24 +00:00
18 lines
536 B
TypeScript
18 lines
536 B
TypeScript
![]() |
import { useTranslation } from 'react-i18next';
|
||
|
import { TooltipContent } from '../../types/tips';
|
||
|
|
||
|
export const useAddPasswordPermissionsTips = (): TooltipContent => {
|
||
|
const { t } = useTranslation();
|
||
|
|
||
|
return {
|
||
|
header: {
|
||
|
title: t("addPassword.tooltip.permissions.title", "Document Permissions")
|
||
|
},
|
||
|
tips: [
|
||
|
{
|
||
|
description: t("addPassword.tooltip.permissions.text", "These permissions control what users can do with the PDF. Most effective when combined with an owner password."),
|
||
|
}
|
||
|
]
|
||
|
};
|
||
|
};
|