-
Notifications
You must be signed in to change notification settings - Fork 377
Closed
Description
When I look at the HTML examples for Tabs, the Tabs using the nav element shows the tabs as <a> instead of <button> elements.
When I look at a similar example for react, I don't see <a> elements being used for the tabs. And it isn't obvious to me from this example how to use <a> elements instead of <button> elements.
If I add href="#someurl" to a <Tab> and inspect the html, I do see that the tab converts to a <a href="#someurl" ...> instead of a <button>. But I don't see this prop/attribute noted in the props documentation.
For this issue:
- Should an item be added for
hrefin the<Tab>props documentation?- actually, are there other props that should be included for
<Tab>? I don't see a section listing any props for<Tab>
- actually, are there other props that should be included for
- Can we update the react example to have parity with the html example, and use
<a>instead of<button>in the examples that use the<nav>element?