diff --git a/packages/form-renderer/layout-renderer/src/MaterialCustomAnyOfRenderer.tsx b/packages/form-renderer/layout-renderer/src/MaterialCustomAnyOfRenderer.tsx index bb4e399e..b9ffd076 100644 --- a/packages/form-renderer/layout-renderer/src/MaterialCustomAnyOfRenderer.tsx +++ b/packages/form-renderer/layout-renderer/src/MaterialCustomAnyOfRenderer.tsx @@ -2,6 +2,7 @@ import { CombinatorKeyword, createCombinatorRenderInfos, JsonSchema, + OwnPropsOfControl, resolveSchema, StatePropsOfCombinator, } from "@jsonforms/core"; @@ -93,6 +94,8 @@ const MaterialCustomAnyOfRendererComponent = ({ ); }; -export const MaterialCustomAnyOfRenderer = withJsonFormsAnyOfProps( +export const MaterialCustomAnyOfRenderer: + | React.ComponentClass + | React.FunctionComponent = withJsonFormsAnyOfProps( MaterialCustomAnyOfRendererComponent, ); diff --git a/packages/form-renderer/markdown-renderer/src/MarkdownTextFieldRenderer.tsx b/packages/form-renderer/markdown-renderer/src/MarkdownTextFieldRenderer.tsx index bf4c07d4..696eb4df 100644 --- a/packages/form-renderer/markdown-renderer/src/MarkdownTextFieldRenderer.tsx +++ b/packages/form-renderer/markdown-renderer/src/MarkdownTextFieldRenderer.tsx @@ -125,7 +125,7 @@ const MarkdownTextFieldRendererComponent = (props: ControlProps) => { }; export const MarkdownTextFieldRenderer: - | React.ComponentClass - | React.FunctionComponent = withJsonFormsControlProps( + | React.ComponentClass + | React.FunctionComponent = withJsonFormsControlProps( MarkdownTextFieldRendererComponent, );