Skip to content

Commit fc0a56b

Browse files
committed
feat: pass _type to mapped components
1 parent 8d818a9 commit fc0a56b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ class ReactFromJSON<
127127
}
128128

129129
return (
130-
<MappedComponent key={key} propIndex={propIndex} {...resolvedProps} />
130+
<MappedComponent key={key} propIndex={propIndex} _type={type} {...resolvedProps} />
131131
);
132132
}
133133

0 commit comments

Comments
 (0)