feat(BOOK-757): Moved TeaserCard to design system and added stories

Approved-by: Bianca Widstam
This commit is contained in:
Erik Tiekstra
2026-01-21 07:50:43 +00:00
parent 8a143a2916
commit b91504e7c6
18 changed files with 465 additions and 107 deletions

View File

@@ -42,8 +42,8 @@ export default function AlertSidepeek({
})}
>
<JsonToHtml
nodes={content.json.children}
embeds={content.embedded_itemsConnection.edges}
nodes={content?.json.children}
embeds={content?.embedded_itemsConnection.edges}
/>
</SidePeek>
</div>

View File

@@ -1,6 +1,6 @@
import type { SidepeekContent } from "@scandic-hotels/common/constants/alert"
import { AlertSidepeekContent } from "../../../types/sidepeekContent"
export interface AlertSidepeekProps {
ctaText: string
sidePeekContent: NonNullable<SidepeekContent>
sidePeekContent: NonNullable<AlertSidepeekContent>
}