diff --git a/Components/Calculation/config/elements-render.tsx b/Components/Calculation/config/elements-render.tsx
index 9d0416a..f2bf481 100644
--- a/Components/Calculation/config/elements-render.tsx
+++ b/Components/Calculation/config/elements-render.tsx
@@ -62,7 +62,7 @@ const renderElements = (Object.keys(map) as (keyof typeof map)[]).reduce((acc, e
render: () => (
-
+
),
};
@@ -92,7 +92,7 @@ const overrideRenderElements: Partial> = {
return (
} />
-
+
);
},
@@ -119,7 +119,7 @@ const overrideRenderElements: Partial> = {
return (
} />
-
+
);
},
@@ -146,7 +146,7 @@ const overrideRenderElements: Partial> = {
return (
} />
-
+
);
},
@@ -169,7 +169,7 @@ const overrideRenderElements: Partial> = {
-
+
);
@@ -193,7 +193,7 @@ const overrideRenderElements: Partial> = {
-
+
);
diff --git a/Elements/InputNumber.tsx b/Elements/InputNumber.tsx
index b9d1c4c..10bc388 100644
--- a/Elements/InputNumber.tsx
+++ b/Elements/InputNumber.tsx
@@ -13,7 +13,14 @@ export default function InputNumber({
}: BaseElementProps) {
return (
-
+
);
}
diff --git a/Elements/Segmented.tsx b/Elements/Segmented.tsx
index 3cc2f4f..6ceb3dc 100644
--- a/Elements/Segmented.tsx
+++ b/Elements/Segmented.tsx
@@ -1,4 +1,4 @@
-import type { SegmentedProps, SpaceProps } from 'antd';
+import type { SpaceProps } from 'antd';
import { Form, Segmented as AntSegmented } from 'antd';
import type { BaseElementProps, BaseOption } from './types';
@@ -7,7 +7,6 @@ const { Item: FormItem } = Form;
type ElementProps = BaseElementProps & {
options: BaseOption[];
spaceProps?: SpaceProps;
- style: SegmentedProps['style'];
};
export default function Segmented({
@@ -18,7 +17,6 @@ export default function Segmented({
isValid,
help,
spaceProps,
- style,
...props
}: ElementProps) {
return (