diff --git a/components/Section/Header/index.tsx b/components/Section/Header/index.tsx index 228d3b6ac..e005a8c07 100644 --- a/components/Section/Header/index.tsx +++ b/components/Section/Header/index.tsx @@ -12,6 +12,7 @@ export default function SectionHeader({ subtitle, title, topTitle = false, + textTransform, }: HeaderProps) { return (
@@ -19,6 +20,7 @@ export default function SectionHeader({ as={topTitle ? "h3" : "h4"} className={styles.title} level={topTitle ? "h1" : "h2"} + textTransform={textTransform} > {title} diff --git a/types/components/myPages/header.ts b/types/components/myPages/header.ts index 5eaafa0b4..af1ed6a7e 100644 --- a/types/components/myPages/header.ts +++ b/types/components/myPages/header.ts @@ -1,9 +1,12 @@ +import { HeadingProps } from "@/components/TempDesignSystem/Text/Title/title" + export type HeaderProps = { link?: { href: string text: string } subtitle: string | null + textTransform?: HeadingProps["textTransform"] title: string | null topTitle?: boolean }