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

[EuiContextMenuPanelDescriptor] title should accept ReactNode rather than string #4933

Merged
merged 4 commits into from
Jul 6, 2021

Conversation

gjones
Copy link
Contributor

@gjones gjones commented Jul 1, 2021

Summary

Updated EuiContextMenuPanelDescriptor's title prop type from string to ReactNode

Checklist

- [ ] Check against all themes for compatibility in both light and dark modes
- [ ] Checked in mobile
- [ ] Checked in Chrome, Safari, Edge, and Firefox

  • Props have proper autodocs and playground toggles
    - [ ] Added documentation
  • Checked Code Sandbox works for the any docs 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

@gjones gjones requested review from thompsongl and elizabetdev July 1, 2021 23:53
@kibanamachine
Copy link

Preview documentation changes for this PR: https://eui.elastic.co/pr_4933/

@gjones gjones changed the title [EuiContextMenuPanelDescriptor] title should accept ReactNode rather than strong [EuiContextMenuPanelDescriptor] title should accept ReactNode rather than string Jul 2, 2021
Copy link
Contributor

@elizabetdev elizabetdev left a comment

Choose a reason for hiding this comment

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

Tested in Chrome, Safari, Edge, and, Firefox. LGTM! 🎉

Just added a small suggestion so that consumers know what is the wrapping element.

Responding to feedback.

Co-authored-by: Elizabet Oliveira <elizabet.oliveira@elastic.co>
@kibanamachine
Copy link

Preview documentation changes for this PR: https://eui.elastic.co/pr_4933/

@kibanamachine
Copy link

Preview documentation changes for this PR: https://eui.elastic.co/pr_4933/

@gjones gjones merged commit 52bbe73 into elastic:master Jul 6, 2021
@gjones gjones deleted the contextmenu-title-accept-reactnode branch July 6, 2021 16:47
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.

4 participants