Skip to content

[EuiTourStep] title and subtitle should accept ReactNode#4841

Merged
elizabetdev merged 3 commits intoelastic:masterfrom
RhnSharma:title-subtitle-accept-reactnode
May 31, 2021
Merged

[EuiTourStep] title and subtitle should accept ReactNode#4841
elizabetdev merged 3 commits intoelastic:masterfrom
RhnSharma:title-subtitle-accept-reactnode

Conversation

@RhnSharma
Copy link
Copy Markdown
Contributor

@RhnSharma RhnSharma commented May 29, 2021

Fixes #4840.

Updated EuiTourStep's title and subtitle 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 ([EuiLoading] Accessibility props #4814 has ideas to address a11y, should be a follow-up)
  • A changelog entry exists and is marked appropriately

@kibanamachine
Copy link
Copy Markdown

Since this is a community submitted pull request, a Jenkins build has not been kicked off automatically. Can an Elastic organization member please verify the contents of this patch and then kick off a build manually?

@cla-checker-service
Copy link
Copy Markdown

cla-checker-service bot commented May 29, 2021

💚 CLA has been signed

@elizabetdev
Copy link
Copy Markdown
Contributor

Hi @RhnSharma 👋🏽 ,
Thank you for fixing this issue.

Could you please sign the Contributor Agreement so we can review your PR?

@RhnSharma
Copy link
Copy Markdown
Contributor Author

RhnSharma commented May 31, 2021

@miukimiu I signed the contributor agreement.

@elizabetdev
Copy link
Copy Markdown
Contributor

jenkin test this

@kibanamachine
Copy link
Copy Markdown

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

@elizabetdev elizabetdev self-requested a review May 31, 2021 15:56
Copy link
Copy Markdown
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.

Thanks @RhnSharma,

I tested in Chrome, Firefox, Safari, Edge, and LGTM! 🎉

I also added a changelog entry and improved the props descriptions.

@elizabetdev elizabetdev merged commit 92cc223 into elastic:master May 31, 2021
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.

[EuiTourStep] title and subtitle should accept ReactNode

3 participants