diff --git a/src/index.tsx b/src/index.tsx
index 4d56180..02639c6 100644
--- a/src/index.tsx
+++ b/src/index.tsx
@@ -189,6 +189,11 @@ function makeComponent(baseName: string, rootDef: TagDef, rootProps: Record
+ }
+
const content = (partName && def.render) ? def.render(finalProps) : children
return {content}