fix: add rendering logic for optional link and preamble

This commit is contained in:
Arvid Norlin
2024-04-18 15:44:53 +02:00
parent c8cb832350
commit b7782b61a7
5 changed files with 65 additions and 1 deletions
+13
View File
@@ -0,0 +1,13 @@
import type { Stay, User } from "@/types/user"
export type StaysProps = {
title: string
preamble: string
link: {
href: string
text: string
} | null
stays: User["stays"]
}
export type StayProps = Stay