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

Is it possible to support MenuItem as an anchor element #2

Open
ultralabed opened this issue Oct 2, 2018 · 1 comment
Open

Is it possible to support MenuItem as an anchor element #2

ultralabed opened this issue Oct 2, 2018 · 1 comment

Comments

@ultralabed
Copy link

It is very usual for user to right click in the dropdown of the nav bar to 'open in new tab'
Is it possible to make as an anchor element so that it is more user friendly??

@cheton
Copy link
Member

cheton commented Oct 2, 2018

You can wrap your item label with an Anchor component (or anchor tag) to render menu items:

<MenuItem eventKey="dashboard.1">
    <Anchor href="https://www.gmail.com">Menu Item 1</Anchor>
</MenuItem>

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

No branches or pull requests

2 participants