chore(SW-194): ContentPage Accordion

This commit is contained in:
Matilda Landström
2024-10-08 12:26:15 +02:00
parent 166ddca0e0
commit 6265d6b7dc
18 changed files with 374 additions and 12 deletions

View File

@@ -0,0 +1,6 @@
import type { FAQtype } from "@/server/routers/contentstack/schemas/blocks/accordion"
export type AccordionProps = {
accordion: FAQtype["accordion"]["faq"]
title?: string
}

View File

@@ -5,7 +5,7 @@ export type HeaderProps = {
href: string
text: string
}
preamble: string | null
preamble?: string | null
textTransform?: HeadingProps["textTransform"]
title: string | null
topTitle?: boolean