Files
web/components/Blocks/DynamicContent/Rewards/Redeem/ActiveRedeemedBadge.tsx
Christian Andolf 6941c1d006 fix(LOY-63): move redeem flows to separate folder
add use client directive
2025-01-09 09:47:26 +01:00

32 lines
731 B
TypeScript

"use client"
import { motion } from "framer-motion"
import { useIntl } from "react-intl"
import { CheckCircleIcon } from "@/components/Icons"
import Caption from "@/components/TempDesignSystem/Text/Caption"
import styles from "./redeem.module.css"
export default function ActiveRedeemedBadge() {
const intl = useIntl()
return (
<div className={styles.redeemed}>
<motion.div
animate={{
opacity: [1, 0.4, 1],
}}
transition={{
duration: 2,
repeat: Infinity,
ease: "easeInOut",
}}
>
<CheckCircleIcon color="uiSemanticSuccess" />
</motion.div>
<Caption>{intl.formatMessage({ id: "Active" })}</Caption>
</div>
)
}