diff --git a/packages/abstract-document/src/abstract-document-jsx/index.ts b/packages/abstract-document/src/abstract-document-jsx/index.ts index ea3a16f1..a407caed 100644 --- a/packages/abstract-document/src/abstract-document-jsx/index.ts +++ b/packages/abstract-document/src/abstract-document-jsx/index.ts @@ -57,6 +57,7 @@ export function render(element: any): any { return (element.type as any)({ ...props, children }); } +//dummy function renderChildren(element: React.ReactElement): any { if (!element.props || !element.props.children) { return [];