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: added href property to sideNavMenuItem #16113

Conversation

riddhybansal
Copy link
Contributor

Closes #15580

Added optional prop href to SideNavMenuItem

Changelog

New

  • Added href prop to SideNavMenuItem

Testing / Reviewing

Test SideNavMenuItem with href property in typescript environment. Verify that the TypeScript compiler should not throw error and the component renders without errors and correctly applies the provided href attribute.

Copy link

netlify bot commented Apr 2, 2024

Deploy Preview for v11-carbon-react ready!

Name Link
🔨 Latest commit ef6197e
🔍 Latest deploy log https://app.netlify.com/sites/v11-carbon-react/deploys/660d64cedddeba000809471a
😎 Deploy Preview https://deploy-preview-16113--v11-carbon-react.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

Copy link
Member

@tay1orjones tay1orjones 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! The ci / test check is failing because the public api snapshot is out of date. You can update it with yarn test -u and push up the changes.

Copy link
Contributor

@andreancardona andreancardona left a comment

Choose a reason for hiding this comment

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

Let me know once those tests are updated and I can take another look :)

@andreancardona andreancardona added this pull request to the merge queue Apr 4, 2024
Merged via the queue into carbon-design-system:main with commit 4633e13 Apr 4, 2024
20 checks passed
preetibansalui pushed a commit to tay1orjones/carbon that referenced this pull request Apr 24, 2024
* fix: added href property to sideNavMenuItem

* fix: updated snapshots

* chore: update snapshots

---------

Co-authored-by: Taylor Jones <tay1orjones@users.noreply.github.com>
Co-authored-by: Andrea N. Cardona <cardona.n.andrea@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
3 participants