mirror of
https://github.com/Frooodle/Stirling-PDF.git
synced 2026-03-04 02:20:19 +01:00
Add Crop to V2 (#4471)
# Description of Changes Add Crop to V2 --------- Co-authored-by: EthanHealy01 <80844253+EthanHealy01@users.noreply.github.com> Co-authored-by: Connor Yoh <connor@stirlingpdf.com> Co-authored-by: ConnorYoh <40631091+ConnorYoh@users.noreply.github.com>
This commit is contained in:
21
frontend/src/components/tooltips/useCropTooltips.ts
Normal file
21
frontend/src/components/tooltips/useCropTooltips.ts
Normal file
@@ -0,0 +1,21 @@
|
||||
import { useTranslation } from 'react-i18next';
|
||||
|
||||
export function useCropTooltips() {
|
||||
const { t } = useTranslation();
|
||||
|
||||
return {
|
||||
header: {
|
||||
title: t("crop.tooltip.title", "How to Crop PDFs")
|
||||
},
|
||||
tips: [
|
||||
{
|
||||
description: t("crop.tooltip.description", "Select the area to crop from your PDF by dragging and resizing the blue overlay on the thumbnail."),
|
||||
bullets: [
|
||||
t("crop.tooltip.drag", "Drag the overlay to move the crop area"),
|
||||
t("crop.tooltip.resize", "Drag the corner and edge handles to resize"),
|
||||
t("crop.tooltip.precision", "Use coordinate inputs for precise positioning"),
|
||||
]
|
||||
}
|
||||
]
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user