Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make useTreeExpansion hook accept expandedKeys as param #826

Merged
merged 1 commit into from
Sep 14, 2024
Merged

Conversation

huchenlei
Copy link
Member

This makes useTreeExpansion hook more flexible. The component no longer need to own the ref to use the hook. Now all components that has access to the expandedKeys ref can use useTreeExpansion hook.

@huchenlei huchenlei merged commit fef780a into main Sep 14, 2024
9 checks passed
@huchenlei huchenlei deleted the treeHook branch September 14, 2024 02:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant