Skip to content
Discussion options

You must be logged in to vote

Hey @stuartkeith, you should be able to use asChild for that.

<NavigationMenuLink asChild>
  <button type="button">My Item</button>
</NavigationMenuLink>

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@stuartkeith
Comment options

@stuartkeith
Comment options

@benoitgrelard
Comment options

@stuartkeith
Comment options

Answer selected by stuartkeith
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
None yet
2 participants