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

Property 'onToggle' is missing in type: react-overlays/Dropdown #929

Open
GuidovdRiet opened this issue Mar 9, 2021 · 0 comments
Open

Comments

@GuidovdRiet
Copy link

GuidovdRiet commented Mar 9, 2021

Describe the bug

In the examples in the docs onToggle doesn't seem like a required prop. The functionality is actually working without this prop. Would be nice if this prop is set to optional. This causes issues in Typescript projects.

Reproducible Example

Minimal example by using CodeSandbox.

Would be nice if Typescript support and examples are improved in the docs.

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

No branches or pull requests

1 participant