diff --git a/apps/portal/src/components/offers/forms/FormSection.tsx b/apps/portal/src/components/offers/forms/FormSection.tsx new file mode 100644 index 00000000..e83b8c70 --- /dev/null +++ b/apps/portal/src/components/offers/forms/FormSection.tsx @@ -0,0 +1,18 @@ +import { HorizontalDivider } from '@tih/ui'; + +export default function FormSection({ + children, + title, +}: Readonly<{ children: React.ReactNode; title: string }>) { + return ( +
+
+

+ {title} +

+ +
+
{children}
+
+ ); +} diff --git a/apps/portal/src/components/offers/offersSubmission/OffersSubmissionForm.tsx b/apps/portal/src/components/offers/offersSubmission/OffersSubmissionForm.tsx index 440e2686..8a6527bc 100644 --- a/apps/portal/src/components/offers/offersSubmission/OffersSubmissionForm.tsx +++ b/apps/portal/src/components/offers/offersSubmission/OffersSubmissionForm.tsx @@ -264,10 +264,10 @@ export default function OffersSubmissionForm({ }, []); return ( -
-
-
-
+
+
+
+