@overmap-ai/core 1.0.38-component-fields.25 → 1.0.38-component-fields.26
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -25,7 +25,7 @@ interface FormRendererProps {
|
|
|
25
25
|
*/
|
|
26
26
|
hideTitle?: boolean;
|
|
27
27
|
className?: string;
|
|
28
|
-
buttonProps?: ButtonProps
|
|
28
|
+
buttonProps?: Omit<ButtonProps, "children">;
|
|
29
29
|
}
|
|
30
30
|
export declare const FormRenderer: import("react").MemoExoticComponent<import("react").ForwardRefExoticComponent<FormRendererProps & import("react").RefAttributes<HTMLDivElement>>>;
|
|
31
31
|
export {};
|
package/dist/overmap-core.js
CHANGED
|
@@ -10385,17 +10385,7 @@ const FormRenderer = memo(
|
|
|
10385
10385
|
] }) }),
|
|
10386
10386
|
inputs,
|
|
10387
10387
|
!readonly && /* @__PURE__ */ jsxs(Flex, { className: styles$6.floatingButtonContainer, align: "center", justify: "end", gap: "2", children: [
|
|
10388
|
-
cancelText && /* @__PURE__ */ jsx(
|
|
10389
|
-
Button,
|
|
10390
|
-
{
|
|
10391
|
-
variant: "solid",
|
|
10392
|
-
severity: "info",
|
|
10393
|
-
...buttonProps,
|
|
10394
|
-
type: "button",
|
|
10395
|
-
onClick: onCancel,
|
|
10396
|
-
children: cancelText
|
|
10397
|
-
}
|
|
10398
|
-
),
|
|
10388
|
+
cancelText && /* @__PURE__ */ jsx(Button, { severity: "info", ...buttonProps, type: "button", onClick: onCancel, children: cancelText }),
|
|
10399
10389
|
/* @__PURE__ */ jsx(Button, { ...buttonProps, type: "submit", disabled: !formik.isValid, children: submitText })
|
|
10400
10390
|
] })
|
|
10401
10391
|
] }) }) });
|