Skip to content

Commit

Permalink
feat: export rehydrateChildren from package
Browse files Browse the repository at this point in the history
  • Loading branch information
simon360 committed Sep 21, 2018
1 parent af2b86b commit 170beb7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/react-from-markup/src/index.ts
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export { default } from "./rehydrator";
export { default, rehydrateChildren } from "./rehydrator";
2 changes: 1 addition & 1 deletion packages/react-from-markup/src/rehydrator.ts
Original file line number Diff line number Diff line change
Expand Up @@ -106,4 +106,4 @@ export default async (
await Promise.all(renders.map(r => r().then(render)));
};

export { IRehydrator, rehydratableToReactElement };
export { IRehydrator, rehydratableToReactElement, rehydrateChildren };

0 comments on commit 170beb7

Please sign in to comment.