From 99144f3a55dd0cba092051221f416ad4cae53485 Mon Sep 17 00:00:00 2001 From: Gavin Jefferies Date: Thu, 19 Oct 2023 17:02:33 -0700 Subject: [PATCH] Revert "PatternFly the PageSection component" (#1044) --- ui/src/components/PageSection.tsx | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) diff --git a/ui/src/components/PageSection.tsx b/ui/src/components/PageSection.tsx index cc1f2f973..c1e160645 100644 --- a/ui/src/components/PageSection.tsx +++ b/ui/src/components/PageSection.tsx @@ -1,5 +1,4 @@ import React, { ReactElement, ReactNode } from 'react'; -import { Panel, PanelMain, PanelMainBody, PanelHeader, Divider } from '@patternfly/react-core'; type Props = { header: ReactNode; @@ -9,12 +8,15 @@ type Props = { export default function PageSection({ header, className = '', children }: Props): ReactElement { return ( - - {header} - - - {children} - - +
+
+
+

+ {header} +

+
+
{children}
+
+
); }