Skip to content

EuiFilterSelect add missing TS def#2291

Merged
justinkambic merged 5 commits intoelastic:masterfrom
justinkambic:euiFilterSelect-typing
Sep 9, 2019
Merged

EuiFilterSelect add missing TS def#2291
justinkambic merged 5 commits intoelastic:masterfrom
justinkambic:euiFilterSelect-typing

Conversation

@justinkambic
Copy link
Copy Markdown
Contributor

Summary

Recently I was using EuiFilterSelect and had a hard time figuring out how to use it because onClick is not documented, even though it might be obvious.

In this patch I've added a propTypes definition, as well as a field on the exported TS type.

Checklist

  • Checked in dark mode
  • Checked in mobile
  • Checked in IE11 and Firefox
  • Props have proper autodocs
  • Added documentation examples
  • Added or updated jest tests
  • Checked for breaking changes and labeled appropriately
  • Checked for accessibility including keyboard-only and screenreader modes
  • A changelog entry exists and is marked appropriately

@justinkambic justinkambic added documentation Issues or PRs that only affect documentation - will not need changelog entries typescript labels Sep 5, 2019
@justinkambic justinkambic self-assigned this Sep 5, 2019
@thompsongl
Copy link
Copy Markdown
Contributor

Nice! Are you planning on adding some more commits before taking this out of Draft status?

@justinkambic
Copy link
Copy Markdown
Contributor Author

Are you planning on adding some more commits before taking this out of Draft status?

Negative!

@justinkambic justinkambic marked this pull request as ready for review September 5, 2019 21:50
Copy link
Copy Markdown
Contributor

@thompsongl thompsongl left a comment

Choose a reason for hiding this comment

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

LGTM

@justinkambic justinkambic merged commit e0b1890 into elastic:master Sep 9, 2019
@justinkambic justinkambic deleted the euiFilterSelect-typing branch September 9, 2019 13:52
thompsongl pushed a commit to thompsongl/eui that referenced this pull request Sep 10, 2019
* Add missing TS def for EuiFilterSelect.

* Update CHANGELOG.md

* Add "Bug fixes" heading to CHANGELOG entry.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Issues or PRs that only affect documentation - will not need changelog entries typescript

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants