turkmentv_front/components/lottery/winners/LotteryWinner.tsx

31 lines
685 B
TypeScript
Raw Normal View History

2024-11-25 14:33:01 +00:00
'use client';
import { motion } from 'framer-motion';
interface IProps {
index: number;
number: string;
}
const LotteryWinner = ({ index, number }: IProps) => {
return (
<motion.div
initial={{
opacity: 0,
translateY: 20,
}}
animate={{
opacity: 1,
translateY: 0,
}}
2024-12-13 11:37:37 +00:00
className="flex flex-col gap-2 md:pb-4 pb-3 last:border-none border-b border-lightOutlineVariant">
<h4 className="md:font-heading-5-regular text-[20px] leading-[28px]">
The winner of the {index + 1} stage:
</h4>
2024-11-25 14:33:01 +00:00
<p className="font-base-medium">8 XX XX-XX-XX</p>
</motion.div>
);
};
export default LotteryWinner;