Skip to content

Commit 66f24e7

Browse files
committed
back out panel for now
1 parent a28eae6 commit 66f24e7

1 file changed

Lines changed: 3 additions & 4 deletions

File tree

packages/react-core/src/components/Compass/CompassSection.tsx

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
1-
import { Panel, PanelProps } from '../Panel';
21
import { 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

4746
CompassSection.displayName = 'CompassSection';

0 commit comments

Comments
 (0)