react-bootstrap/react-overlays

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

GuidovdRiet opened this issue · 0 comments

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.