Skip to content

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

@GuidovdRiet

Description

@GuidovdRiet

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions