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

dropdownRender doesn't provide props for the menu component #845

Closed
uazure opened this issue Oct 17, 2022 · 0 comments · Fixed by #990
Closed

dropdownRender doesn't provide props for the menu component #845

uazure opened this issue Oct 17, 2022 · 0 comments · Fixed by #990

Comments

@uazure
Copy link

uazure commented Oct 17, 2022

In the documentation it's stated that dropdownRender callback will be called with two arguments: menu jsx and menu props.:
(menu: React.Node, props: MenuProps) => ReactNode

In fact, it's called with just one argument as far as I can see. Either documentation should be updated or implementation should be updated to match documentation

kaichii added a commit to kaichii/select that referenced this issue Nov 1, 2023
yoyo837 pushed a commit that referenced this issue Nov 7, 2023
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 a pull request may close this issue.

1 participant