-
Notifications
You must be signed in to change notification settings - Fork 842
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
[EuiSuperDatePicker] Added prop to control the update button #4895
[EuiSuperDatePicker] Added prop to control the update button #4895
Conversation
… over its update button
Preview documentation changes for this PR: https://eui.elastic.co/pr_4895/ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍 LGTM. Kinda wish there was a snapshot output to compare that the EuiButton is rendering with the extra props. But I'll go on faith that these tests pass 😉 . Thanks for tackling this one!
Preview documentation changes for this PR: https://eui.elastic.co/pr_4895/ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Code changes LGTM
Happy to discuss better documentation for EuiSuperUpdateButtonProps
further
Summary
EuiButton
props #4871 by adding an optionalupdateButtonProps
to EuiSuperDatePickerEuiSuperUpdateButtonProps
withCommonProps
and a partialized subset ofEuiButtonProps
Checklist
- [ ] Check against all themes for compatibility in both light and dark modes- [ ] Added documentation- [ ] Checked Code Sandbox works for the any docs examples- [ ] Checked for accessibility including keyboard-only and screenreader modes