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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user