feat(BOOK-757): Replaced Biroscript component with Typography
Approved-by: Bianca Widstam
This commit is contained in:
@@ -1,10 +1,11 @@
|
||||
import { useIntl } from "react-intl"
|
||||
|
||||
import { isMembershipLevel } from "@scandic-hotels/common/utils/membershipLevels"
|
||||
import { Typography } from "@scandic-hotels/design-system/Typography"
|
||||
|
||||
import { TIER_TO_FRIEND_MAP } from "@/constants/membershipLevels"
|
||||
|
||||
import BiroScript from "@/components/TempDesignSystem/Text/BiroScript"
|
||||
import styles from "./scriptedRewardText.module.css"
|
||||
|
||||
import type { ScriptedRewardTextProps } from "@/types/components/myPages/myPage/accountPage"
|
||||
|
||||
@@ -46,8 +47,8 @@ export default function ScriptedRewardText({
|
||||
if (!label) return null
|
||||
|
||||
return (
|
||||
<BiroScript type="two" color="red" tilted="small">
|
||||
{label}
|
||||
</BiroScript>
|
||||
<Typography variant="Title/Decorative/md">
|
||||
<span className={styles.scriptedText}>{label}</span>
|
||||
</Typography>
|
||||
)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user