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

@@ -64,6 +64,7 @@ export default function CardsGrid({
heading={card.heading}
bodyText={card.bodyText}
image={card.image}
theme={card.theme ?? "one"}
primaryButton={card.primaryButton}
secondaryButton={card.secondaryButton}
imagePosition={index % 2 === 0 ? "right" : "left"}