add LargeTable component

This commit is contained in:
Arvid Norlin
2024-05-31 16:03:30 +02:00
parent de79c2dc80
commit 92f5f7f7c0
17 changed files with 136 additions and 94 deletions

View File

@@ -38,21 +38,14 @@ export type Level = {
name: string
requiredPoints: number
requiredNights?: number
logo: string
icon: string
benefits: Benefit[]
}
export type LevelCardProps = {
formatMessage: IntlFormatters["formatMessage"]
lang: Lang
level: {
tier: number
name: string
requiredPoints: number
requiredNights?: number
benefits: Benefit[]
logo: string
}
level: Level
}
export type ComparisonLevel = {
@@ -95,3 +88,7 @@ export type BenefitValueProps = {
export type BenefitListProps = {
levels: ComparisonLevel[]
}
export type LargeTableProps = {
levels: ComparisonLevel[]
}