mirror of
https://github.com/Stirling-Tools/Stirling-PDF.git
synced 2025-08-26 14:19:24 +00:00
Type fixes
This commit is contained in:
parent
a17326ab27
commit
f34e505d84
@ -1,7 +1,7 @@
|
|||||||
import React from "react";
|
import React from "react";
|
||||||
import { Stack, Text, NumberInput } from "@mantine/core";
|
import { Stack, Text, NumberInput } from "@mantine/core";
|
||||||
import { useTranslation } from "react-i18next";
|
import { useTranslation } from "react-i18next";
|
||||||
import { AddWatermarkParameters } from "./types";
|
import { AddWatermarkParameters } from "../../../hooks/tools/addWatermark/useAddWatermarkParameters";
|
||||||
|
|
||||||
interface WatermarkStyleSettingsProps {
|
interface WatermarkStyleSettingsProps {
|
||||||
parameters: AddWatermarkParameters;
|
parameters: AddWatermarkParameters;
|
||||||
|
@ -37,11 +37,6 @@ const NumberInputWithUnit = ({
|
|||||||
</Text>
|
</Text>
|
||||||
}
|
}
|
||||||
rightSectionWidth={unit.length * 8 + 20} // Dynamic width based on unit length
|
rightSectionWidth={unit.length * 8 + 20} // Dynamic width based on unit length
|
||||||
styles={{
|
|
||||||
rightSection: {
|
|
||||||
pointerEvents: 'none',
|
|
||||||
}
|
|
||||||
}}
|
|
||||||
/>
|
/>
|
||||||
</Stack>
|
</Stack>
|
||||||
);
|
);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user