Merged in feat/1525-info-card-themes (pull request #1300)

feat(SW-1525): Add theme support for InfoCard component

* feat(1525): Add theme support for InfoCard component

* refactor(1525): Update InfoCard theme typing


Approved-by: Christian Andolf
This commit is contained in:
Chuma Mcphoy (We Ahead)
2025-02-11 10:40:23 +00:00
parent 6eb01750e8
commit 3c4d08a894
4 changed files with 13 additions and 0 deletions

View File

@@ -9,6 +9,14 @@ type CardTheme = Exclude<
"image"
>
export const INFO_CARD_THEMES = [
"one",
"two",
"three",
"primaryInverted",
"primaryStrong",
] as const satisfies readonly CardTheme[]
export interface InfoCardProps {
scriptedTopTitle?: string
heading: string