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(ui-shell): update SideNavLink proptype #5256

Merged

Conversation

tw15egan
Copy link
Collaborator

@tw15egan tw15egan commented Feb 3, 2020

Closes #5248

Updates children PropType on SideNavLink. Allows a user to pass in an HTML element instead of strictly requiting it to be a string.

Changed

  • children PropType from string to node

@tw15egan tw15egan requested a review from a team as a code owner February 3, 2020 22:12
@ghost ghost requested review from asudoh and joshblack February 3, 2020 22:12
@netlify
Copy link

netlify bot commented Feb 3, 2020

Deploy preview for carbon-elements ready!

Built with commit 2d7911d

https://deploy-preview-5256--carbon-elements.netlify.com

@netlify
Copy link

netlify bot commented Feb 3, 2020

Deploy preview for carbon-components-react failed.

Built with commit 2d7911d

https://app.netlify.com/sites/carbon-components-react/deploys/5e4198e4dbd99500095fa444

Copy link
Contributor

@asudoh asudoh left a comment

Choose a reason for hiding this comment

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

LGTM 👍 - Thanks @tw15egan!

Copy link
Member

@emyarod emyarod left a comment

Choose a reason for hiding this comment

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

looks good to me

@tw15egan tw15egan merged commit 5822571 into carbon-design-system:master Feb 10, 2020
@tw15egan tw15egan deleted the side-nav-item-proptype-update branch April 28, 2021 18:17
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.

SideNavLink children proptype should be of type React Node
3 participants