diff --git a/packages/react-schema-editor/src/index.tsx b/packages/react-schema-editor/src/index.tsx index 5eb69c6b788..befa5d1afde 100644 --- a/packages/react-schema-editor/src/index.tsx +++ b/packages/react-schema-editor/src/index.tsx @@ -18,9 +18,9 @@ import './index.css' export const SchemaEditor: React.FC<{ className?: string schema: any - showAntdComponents: boolean - showFusionComponents: boolean - customComponents: [] + showAntdComponents?: boolean + showFusionComponents?: boolean + customComponents?: [] onChange: (schema: any) => void }> = ({ className,