File tree Expand file tree Collapse file tree
packages/react-core/src/components/Compass Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -15,6 +15,8 @@ interface CompassSectionProps extends React.HTMLProps<HTMLDivElement> {
1515 isGradientBorder ?: boolean ;
1616 /** Applies a thinking style to the section. */
1717 isThinking ?: boolean ;
18+ /** Indicates the section should expand to fill the available height. */
19+ isFullHeight ?: boolean ;
1820}
1921
2022export const CompassSection : React . FunctionComponent < CompassSectionProps > = ( {
@@ -25,6 +27,7 @@ export const CompassSection: React.FunctionComponent<CompassSectionProps> = ({
2527 isBorderless,
2628 isGradientBorder,
2729 isThinking,
30+ isFullHeight,
2831 ...props
2932} ) => (
3033 < div
@@ -35,6 +38,7 @@ export const CompassSection: React.FunctionComponent<CompassSectionProps> = ({
3538 isBorderless && 'pf-m-no-border' ,
3639 isGradientBorder && 'pf-m-gradient-border' ,
3740 isThinking && 'pf-m-thinking' ,
41+ isFullHeight && 'pf-m-full-height' ,
3842 className
3943 ) }
4044 { ...props }
You can’t perform that action at this time.
0 commit comments