feat(WEB-250): overview hero final ui
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
import { Fragment } from "react"
|
||||
|
||||
import Title from "@/components/Title"
|
||||
import Title from "@/components/TempDesignSystem/Title"
|
||||
|
||||
import styles from "./overviewTableTitle.module.css"
|
||||
|
||||
@@ -8,7 +8,7 @@ import { OverviewTableTitleProps } from "@/types/components/loyalty/blocks"
|
||||
|
||||
export default function OverviewTableTitle({ texts }: OverviewTableTitleProps) {
|
||||
return (
|
||||
<Title as="h1" level="h1" weight="semiBold" uppercase>
|
||||
<Title>
|
||||
{texts.map(({ text, highlight }, idx) => (
|
||||
<Fragment key={idx}>
|
||||
<span className={highlight ? styles.highlight : ""}>{text}</span>
|
||||
|
||||
Reference in New Issue
Block a user