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