'use client' import { motion, AnimatePresence } from 'framer-motion' import { ChevronLeft, ChevronRight } from 'lucide-react' interface NavigationControlsProps { onPrev: () => void onNext: () => void isFirst: boolean isLast: boolean current: number total: number } export default function NavigationControls({ onPrev, onNext, isFirst, isLast, current, total, }: NavigationControlsProps) { return ( <> {/* Left Arrow */} {!isFirst && ( )} {/* Right Arrow */} {!isLast && ( )} {/* Slide Counter */}
{current + 1} / {total}
) }