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

add render prop to NavigationItem (#3279) #3417

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

mark-tate
Copy link
Contributor

  • the render prop enables the substitution of the default anchor tag with an alternate link, such as React Router, facilitating integration with routing libraries.
  • parent items can now be modified to act as hyperlinks to specific pages while still retaining the ability to expand and collapse rows

Copy link

vercel bot commented May 15, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
saltdesignsystem ✅ Ready (Inspect) Visit Preview 💬 Add feedback May 15, 2024 10:16am

Copy link

changeset-bot bot commented May 15, 2024

🦋 Changeset detected

Latest commit: 60c3bf4

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@salt-ds/core Minor

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

- the `render` prop enables the substitution of the default anchor tag with an alternate link, such as React Router, facilitating integration with routing libraries.
- parent items can now be modified to act as hyperlinks to specific pages while still retaining the ability to expand and collapse rows
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.

Allow passing more props to NavigationItem's link element
2 participants