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

fix(HeaderMenu): spread extra props into root element #9139

Conversation

emyarod
Copy link
Member

@emyarod emyarod commented Jul 7, 2021

Closes #9134

This PR allows for additional props to be spread onto the UI Shell HeaderMenu which should improve support for testing libraries like Cypress which inject data attributes

Testing / Reviewing

Confirm that any extra props placed on the UI Shell HeaderMenu are ultimately rendered in the DOM

@netlify
Copy link

netlify bot commented Jul 7, 2021

❌ Deploy Preview for carbon-react-next failed.

🔨 Explore the source changes: 383686a

🔍 Inspect the deploy log: https://app.netlify.com/sites/carbon-react-next/deploys/60e74c6a919ada00080b5079

@netlify
Copy link

netlify bot commented Jul 7, 2021

✔️ Deploy Preview for carbon-elements ready!

🔨 Explore the source changes: 383686a

🔍 Inspect the deploy log: https://app.netlify.com/sites/carbon-elements/deploys/60e74c6acde7d00007553670

😎 Browse the preview: https://deploy-preview-9139--carbon-elements.netlify.app

@netlify
Copy link

netlify bot commented Jul 7, 2021

✔️ Deploy Preview for carbon-components-react ready!
Built without sensitive environment variables

🔨 Explore the source changes: 383686a

🔍 Inspect the deploy log: https://app.netlify.com/sites/carbon-components-react/deploys/60e74c6a80ba460007e3fbfa

😎 Browse the preview: https://deploy-preview-9139--carbon-components-react.netlify.app

Copy link
Collaborator

@tw15egan tw15egan left a comment

Choose a reason for hiding this comment

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

LGTM 👍 ✅

@andreancardona andreancardona merged commit 8ab436e into carbon-design-system:main Jul 8, 2021
@emyarod emyarod deleted the 9134-spread-header-menu-props branch July 9, 2021 14:27
@emyarod emyarod mentioned this pull request Jul 12, 2021
62 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

React HeaderMenu does not render data-* attributes
3 participants