Skip to content

Commit e83e4e7

Browse files
authored
fix(Nav): Hide flyout example and props (#6329)
1 parent 5d562bd commit e83e4e7

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

packages/react-core/src/components/Nav/NavItem.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,9 @@ export interface NavItemProps extends Omit<React.HTMLProps<HTMLAnchorElement>, '
2727
onClick?: NavSelectClickHandler;
2828
/** Component used to render NavItems if React.isValidElement(children) is false */
2929
component?: React.ReactNode;
30-
/** Flyout sub-navigation of a nav item */
30+
/** @hide Flyout sub-navigation of a nav item */
3131
flyout?: React.ReactNode;
32-
/** Callback when flyout is opened or closed */
32+
/** @hide Callback when flyout is opened or closed */
3333
onShowFlyout?: () => void;
3434
}
3535

packages/react-core/src/components/Nav/examples/Nav.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -504,7 +504,7 @@ class NavTertiaryList extends React.Component {
504504
}
505505
```
506506

507-
### Flyout
507+
<!--- ### Flyout
508508
509509
A flyout should be another `Nav` component with the `subnav` variant. Press `space` or `right arrow` to open a flyout using the keyboard, use `tab` to navigate between items, and press `escape` or `left arrow` to close a flyout.
510510
@@ -566,4 +566,4 @@ NavWithFlyout = () => {
566566
</Nav>
567567
);
568568
};
569-
```
569+
``` -->

0 commit comments

Comments
 (0)