"use client"; import React from "react"; import { motion } from "framer-motion"; import clsx from "clsx"; interface NavEffectProps { children: React.ReactNode; effectType?: "underline" | "overline" | "box" | "slide" | "grow"; underlineColor?: string; underlineHeight?: string; duration?: number; fontSize?: string; className?: string; boxBgColor?: string; } const NavEffect: React.FC = ({ children, effectType = "underline", underlineColor = "currentColor", underlineHeight = "2px", duration = 0.3, fontSize = "text-sm md:text-base", className = "", boxBgColor = "rgba(0, 0, 0, 0.1)", }) => { const renderEffect = () => { switch (effectType) { case "underline": return ( ); case "overline": return ( ); case "box": return ( ); case "slide": return ( ); default: return null; } }; return ( {children} {renderEffect()} ); }; export default NavEffect;