Skip to content

Commit 28b5a0e

Browse files
committed
fix(core): optional renderFn
1 parent a34afc7 commit 28b5a0e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/core/src/document.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -280,7 +280,7 @@ export type Document<Props = any> = {
280280
/**
281281
* each document can have a different renderer - JSON, react etc.
282282
*/
283-
renderFn: FrameworkRenderFn;
283+
renderFn?: FrameworkRenderFn;
284284
/**
285285
* loaded data associated with the document
286286
*/

0 commit comments

Comments
 (0)