SPB Git forge

spb/spb-cloud

Public
10commits 1branches 0releases
3.2 MBsize
maindefault branch
2 h agolast push
JavaScript 56.7% TypeScript 42.6%
494 B · 23 lines tsx
Raw Blame History
1"use client";23import { motion } from "framer-motion";45interface PageTransitionProps {6  children: React.ReactNode;7  className?: string;8}910export default function PageTransition({ children, className }: PageTransitionProps) {11  return (12    <motion.div13      initial={{ opacity: 0, y: 8 }}14      animate={{ opacity: 1, y: 0 }}15      exit={{ opacity: 0, y: 8 }}16      transition={{ duration: 0.3, ease: "easeOut" }}17      className={className}18    >19      {children}20    </motion.div>21  );22}23