We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents e0f8aeb + 86d465c commit 9c545b9Copy full SHA for 9c545b9
src/prop-bridge.tsx
@@ -49,7 +49,7 @@ export const getPropsFromNode = (node: HTMLElement) => {
49
{}
50
);
51
52
- const children = Array.from(node.children).map((e) => e.cloneNode(true));
+ const children = Array.from(node.childNodes).map((e) => e.cloneNode(true));
53
mappedProps.children = <ReactDomChild>{children}</ReactDomChild>;
54
return mappedProps;
55
};
0 commit comments