'use client' import { motion } from 'framer-motion' import { ReactNode } from 'react' interface FadeInViewProps { children: ReactNode className?: string delay?: number direction?: 'up' | 'down' | 'left' | 'right' | 'none' duration?: number } export default function FadeInView({ children, className = '', delay = 0, direction = 'up', duration = 0.6, }: FadeInViewProps) { const directionMap = { up: { y: 30 }, down: { y: -30 }, left: { x: 30 }, right: { x: -30 }, none: {}, } return ( {children} ) }