import { motion, AnimatePresence } from 'framer-motion' interface GenerationStatusCardProps { visible: boolean } const cardAnimation = { hidden: { x: -220, rotate: -6, opacity: 0, }, visible: { x: [ -220, 20, -10, 6, 0, -3, 0 ], rotate: [ -6, -2, -4, -2.5, -3.5, -3, -3 ], opacity: 1, transition: { duration: 0.72, times: [0, 0.5, 0.68, 0.8, 0.9, 0.96, 1], ease: 'easeOut', }, }, exit: { x: -220, rotate: -8, opacity: 0, transition: { duration: 0.22, ease: 'easeIn', }, }, } export function GenerationStatusCard({ visible }: GenerationStatusCardProps) { return ( {visible && (
Status note

Let's break some trust.

Scroll down ↓

)}
) }