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

Use static initializer in ValidatedDualRange for storybook compat #60601

Merged

Conversation

dgieselaar
Copy link
Member

@dgieselaar dgieselaar commented Mar 19, 2020

Closes #60356.

Looks like react-typescript-docgen gets confused when using both ValidatedDualRange.defaultProps and static defaultProps (arguably the runtime semantics are unclear here as well).

@dgieselaar dgieselaar added release_note:skip Skip the PR/issue when compiling release notes v7.7.0 labels Mar 19, 2020
@dgieselaar dgieselaar requested a review from a team as a code owner March 19, 2020 08:51
Copy link
Contributor

@Dosant Dosant left a comment

Choose a reason for hiding this comment

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

Thanks!
Checked that fixes the issue.

@kibanamachine
Copy link
Contributor

💚 Build Succeeded

To update your PR or re-run it, just comment with:
@elasticmachine merge upstream

@dgieselaar dgieselaar merged commit 915b784 into elastic:master Mar 19, 2020
@dgieselaar dgieselaar deleted the validated-dual-range-storybook branch March 19, 2020 19:29
@streamich streamich mentioned this pull request Mar 19, 2020
7 tasks
@kibanamachine kibanamachine added the backport missing Added to PRs automatically when the are determined to be missing a backport. label Mar 20, 2020
@kibanamachine
Copy link
Contributor

Looks like this PR has a backport PR but it still hasn't been merged. Please merge it ASAP to keep the branches relatively in sync.

@kibanamachine kibanamachine removed the backport missing Added to PRs automatically when the are determined to be missing a backport. label Mar 21, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
release_note:skip Skip the PR/issue when compiling release notes v7.7.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Storybook breaks when importing from kibana-react
3 participants