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

Fix type definitions for ButtonDropdown #402

Merged
merged 1 commit into from
Nov 16, 2021
Merged

Fix type definitions for ButtonDropdown #402

merged 1 commit into from
Nov 16, 2021

Conversation

baileyherbert
Copy link
Contributor

Fixes this error from the TS language server when using ButtonDropdown:

'ButtonDropdown' cannot be used as a JSX component.
  Its instance type 'Modal' is not a valid JSX element.
    Property '$$prop_def' is missing in type 'Modal' but required in type 'ElementClass'.ts(2786)

Copy link
Owner

@bestguy bestguy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you!

@bestguy bestguy merged commit f857f1b into bestguy:master Nov 16, 2021
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.

2 participants