You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat: Added Tab updates for site Navigation (#12111)
* feat: Added updates for site Navigation
* Update packages/react-core/src/components/Tabs/examples/TabsSiteNav.tsx
Co-authored-by: Eric Olkowski <70952936+thatblindgeye@users.noreply.github.com>
* Updated with changes to allow a div to be set when using isNav.
* Updated the code with feedback from reviews.
---------
Co-authored-by: Eric Olkowski <70952936+thatblindgeye@users.noreply.github.com>
Copy file name to clipboardExpand all lines: packages/react-core/src/components/Tabs/examples/Tabs.md
+8Lines changed: 8 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -189,6 +189,14 @@ Subtabs can also link to nav elements.
189
189
190
190
```
191
191
192
+
### Tabs used for site navigation
193
+
194
+
Site navigation tabs
195
+
196
+
```ts file="./TabsSiteNav.tsx"
197
+
198
+
```
199
+
192
200
### With separate content
193
201
194
202
If a `<TabContent>` component is defined outside of a `<Tabs>` component, use the `tabContentRef` and `tabContentId` properties. The `hidden` property is used on `TabContent` to set the initial visible content.
0 commit comments