Skip to content

Commit e6dac0d

Browse files
author
William
committed
refactor(RootSiblingsManager): Updates the component structure and exports the default root component.
- Modifies the `wrapRootComponent` return value to include the root component. - Adds a `DefaultRootSiblingParent` export for external access to the root component. - Refactors the component initialization logic to support the new return structure.
1 parent beb05cf commit e6dac0d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/RootSiblingsManager.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ function getActiveManager(id: string | number | symbol): RootSiblingManager {
4040

4141
return defaultManager;
4242
}
43-
export const DefaultRootSiblingParent = Root;
43+
export { Root as DefaultRootSiblingParent };
4444
export default class RootSiblingsManager {
4545
private id: string;
4646
private manager: RootSiblingManager;

0 commit comments

Comments
 (0)