feat(BOOK-757): Moved TeaserCard to design system and added stories
Approved-by: Bianca Widstam
This commit is contained in:
@@ -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>
|
||||
|
||||
@@ -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>
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user