chore: move type
This commit is contained in:
@@ -20,6 +20,7 @@ import {
|
||||
BenefitValueProps,
|
||||
ComparisonLevel,
|
||||
LevelSummaryProps,
|
||||
OverviewTableTitleProps,
|
||||
} from "@/types/components/loyalty/blocks"
|
||||
|
||||
// These should ultimately be fetched from Contentstack
|
||||
@@ -51,13 +52,6 @@ const titleTranslations = {
|
||||
],
|
||||
}
|
||||
|
||||
type TitleTranslation = {
|
||||
text: string
|
||||
highlight: boolean
|
||||
}
|
||||
|
||||
type OverviewTableTitleProps = { texts: TitleTranslation[] }
|
||||
|
||||
function OverviewTableTitle({ texts }: OverviewTableTitleProps) {
|
||||
return (
|
||||
<Title as="h1" level="h1" weight="semiBold" uppercase>
|
||||
|
||||
Reference in New Issue
Block a user