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.
1 parent 08091c9 commit 0f13d96Copy full SHA for 0f13d96
src/dom-element-to-react/index.ts
@@ -1,7 +1,7 @@
1
import * as React from "react";
2
import convert, { CustomElementHandlerType } from "./convert";
3
4
-const rehydrateChildren = async (
+const domElementToReact = async (
5
node: Node,
6
customHandler?: CustomElementHandlerType
7
): Promise<React.ReactNode> => {
@@ -18,4 +18,4 @@ const rehydrateChildren = async (
18
return React.createElement(React.Fragment, {}, ...children);
19
};
20
21
-export default rehydrateChildren;
+export default domElementToReact;
0 commit comments