Merged in feat/best-friend-hero (pull request #338)
Feat(SW-170): Update overview hero Approved-by: Christel Westerberg
This commit is contained in:
@@ -3,3 +3,7 @@ import { membershipLevels } from "@/constants/membershipLevels"
|
||||
export type MembershipLevelProps = {
|
||||
level: membershipLevels
|
||||
}
|
||||
|
||||
export type CopyButtonProps = {
|
||||
membershipNumber: string
|
||||
}
|
||||
@@ -1,5 +1,6 @@
|
||||
export enum DynamicContentComponents {
|
||||
membership_overview = "membership_overview",
|
||||
points_overview = "points_overview",
|
||||
soonest_stays = "soonest_stays",
|
||||
previous_stays = "previous_stays",
|
||||
upcoming_stays = "upcoming_stays",
|
||||
|
||||
@@ -0,0 +1,16 @@
|
||||
interface PointsOrNightColumn {
|
||||
title?: string
|
||||
subtitle?: string
|
||||
subtitleParam?: string
|
||||
}
|
||||
|
||||
export interface PointsColumn extends PointsOrNightColumn {
|
||||
points: number | undefined
|
||||
nights?: never
|
||||
}
|
||||
export interface NightsColumn extends PointsOrNightColumn {
|
||||
points?: never
|
||||
nights: number | undefined
|
||||
}
|
||||
|
||||
export type PointsColumnProps = PointsColumn | NightsColumn
|
||||
Reference in New Issue
Block a user