File tree Expand file tree Collapse file tree
packages/react-core/src/components Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -60,7 +60,7 @@ export const OverflowMenuBreakpointOnContainerHeight: React.FunctionComponent =
6060 < >
6161 < div style = { { height : '100%' , maxHeight : '400px' } } >
6262 < div >
63- < span id = "overflowMenu-hasBreakpointOnContainer-height-slider-label" > Current container width </ span > :{ ' ' }
63+ < span id = "overflowMenu-hasBreakpointOnContainer-height-slider-label" > Current container height </ span > :{ ' ' }
6464 { containerHeight } %
6565 </ div >
6666 < Slider
@@ -75,7 +75,7 @@ export const OverflowMenuBreakpointOnContainerHeight: React.FunctionComponent =
7575 />
7676 </ div >
7777 < div ref = { containerRef } id = "height-breakpoint-reference-container" style = { containerStyles } >
78- < OverflowMenu breakpointReference = { containerRef } breakpoint = "sm" >
78+ < OverflowMenu breakpointReference = { containerRef } breakpoint = "sm" isVertical >
7979 < OverflowMenuContent >
8080 < OverflowMenuItem > Item 1</ OverflowMenuItem >
8181 < OverflowMenuItem > Item 2</ OverflowMenuItem >
Original file line number Diff line number Diff line change @@ -17,14 +17,14 @@ export const ToolbarGroups: React.FunctionComponent = () => (
1717 < Button variant = "plain" aria-label = "sync" icon = { < SyncIcon /> } />
1818 </ ToolbarItem >
1919 </ ToolbarGroup >
20- < ToolbarGroup variant = "action-group-plain" visibility = { { default : 'hidden' , md : 'visible' } } >
20+ < ToolbarGroup variant = "action-group-plain" visibilityAtHeight = { { default : 'hidden' , md : 'visible' } } >
2121 < ToolbarItem >
2222 < Button variant = "plain" aria-label = "edit" icon = { < EditIcon /> } />
2323 </ ToolbarItem >
24- < ToolbarItem visibility = { { default : 'hidden' , lg : 'visible' } } >
24+ < ToolbarItem visibilityAtHeight = { { default : 'hidden' , lg : 'visible' } } >
2525 < Button variant = "plain" aria-label = "clone" icon = { < CloneIcon /> } />
2626 </ ToolbarItem >
27- < ToolbarItem visibility = { { default : 'hidden' , lg : 'visible' } } >
27+ < ToolbarItem visibilityAtHeight = { { default : 'hidden' , lg : 'visible' } } >
2828 < Button variant = "plain" aria-label = "sync" icon = { < SyncIcon /> } />
2929 </ ToolbarItem >
3030 </ ToolbarGroup >
You can’t perform that action at this time.
0 commit comments