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 1- import { Panel , PanelProps } from '../Panel' ;
21import { css } from '@patternfly/react-styles' ;
32
4- interface CompassSectionProps extends PanelProps {
3+ interface CompassSectionProps extends React . HTMLProps < HTMLDivElement > {
54 /** Additional classes added to the section. */
65 className ?: string ;
76 /** Content of the section. */
@@ -28,7 +27,7 @@ export const CompassSection: React.FunctionComponent<CompassSectionProps> = ({
2827 isThinking,
2928 ...props
3029} ) => (
31- < Panel
30+ < div
3231 className = { css (
3332 'pf-v6-c-compass__section' ,
3433 isGlass && 'pf-m-glass' ,
@@ -41,7 +40,7 @@ export const CompassSection: React.FunctionComponent<CompassSectionProps> = ({
4140 { ...props }
4241 >
4342 { children }
44- </ Panel >
43+ </ div >
4544) ;
4645
4746CompassSection . displayName = 'CompassSection' ;
You can’t perform that action at this time.
0 commit comments