diff --git a/apps/web/ui/partners/groups/design/application-form/application-hero-preview.tsx b/apps/web/ui/partners/groups/design/application-form/application-hero-preview.tsx index 78b25245226..99d62d1f43d 100644 --- a/apps/web/ui/partners/groups/design/application-form/application-hero-preview.tsx +++ b/apps/web/ui/partners/groups/design/application-form/application-hero-preview.tsx @@ -30,7 +30,9 @@ export function ApplicationFormHero({ {/*

{label}

*/} - {title} + + {title} + {description} ); diff --git a/apps/web/ui/partners/groups/design/application-form/fields/form-control.tsx b/apps/web/ui/partners/groups/design/application-form/fields/form-control.tsx index 9433fd47ee9..cf805f5ccef 100644 --- a/apps/web/ui/partners/groups/design/application-form/fields/form-control.tsx +++ b/apps/web/ui/partners/groups/design/application-form/fields/form-control.tsx @@ -1,12 +1,13 @@ import { cn } from "@dub/utils"; -import { PropsWithChildren } from "react"; +import { HTMLAttributes } from "react"; -export type FormControlProps = PropsWithChildren<{ +export type FormControlProps = { label: string; required?: boolean; helperText?: string; error?: string; -}>; + labelDir?: string; +} & HTMLAttributes; export const FormControlRequiredBadge = () => { return ( @@ -22,10 +23,12 @@ export const FormControl = ({ children, error, helperText, + labelDir, + ...rest }: FormControlProps) => { return ( -