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

Update the typedef for EuiSwitch's onChange prop #1144

Merged

Conversation

chandlerprall
Copy link
Contributor

Fixes #1134

There's no reason to omit onChange from the InputHTMLAttributes<HTMLInputElement>, as the callback function is passed straight into the input. This change removes that song and dance, cleanly indicating what props are available.

Copy link
Contributor

@stacey-gammon stacey-gammon left a comment

Choose a reason for hiding this comment

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

lgtm, code review only

@chandlerprall chandlerprall merged commit 3b5ecfc into elastic:master Aug 28, 2018
@chandlerprall chandlerprall deleted the bug/1134-switch-onchange-type branch August 28, 2018 17:52
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