Skip to content

Commit 3e960b3

Browse files
authored
docs(OverflowMenu): expose OverflowMenuContext in docs (#12587)
* docs(OverflowMenu): expose OverflowMenuContext in docs * update wording
1 parent c5ad5f8 commit 3e960b3

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,8 @@ import AlignCenterIcon from '@patternfly/react-icons/dist/esm/icons/align-center
1919
import AlignRightIcon from '@patternfly/react-icons/dist/esm/icons/align-right-icon';
2020
import RhUiEllipsisVerticalFillIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-ellipsis-vertical-fill-icon';
2121

22+
`OverflowMenuContext` is also available to import and use to further customize and refine behaviors that should respect responsive breakpoints. This context provides the `isBelowBreakpoint` boolean that will update when the specified breakpoint is reached.
23+
2224
## Examples
2325

2426
### Simple (responsive)

0 commit comments

Comments
 (0)