feat(WEB-220): label translations

This commit is contained in:
Simon Emanuelsson
2024-05-22 10:27:16 +02:00
parent 125998efcf
commit de79c2dc80
80 changed files with 1104 additions and 460 deletions

View File

@@ -1,3 +1,4 @@
import { Lang } from "@/constants/languages"
import {
Block,
CardsGrid,
@@ -5,6 +6,8 @@ import {
RteBlockContent,
} from "@/server/routers/contentstack/loyaltyPage/output"
import type { IntlFormatters } from "@formatjs/intl"
export type BlocksProps = {
blocks: Block[]
}
@@ -40,6 +43,8 @@ export type Level = {
}
export type LevelCardProps = {
formatMessage: IntlFormatters["formatMessage"]
lang: Lang
level: {
tier: number
name: string

View File

@@ -1,4 +1,4 @@
export type ShowMoreButtonParams = {
disabled?: boolean
loadMoreData: () => void
disabled: boolean
}