"use client"; import { motion, AnimatePresence } from "framer-motion"; type Props = { tabKey: string; children: React.ReactNode; }; /** * Fades the content of a tabbed panel when the active tab changes. * The tab key drives the animation, so switching tabs triggers a quick * fade-in of the new content. No motion when the tab key is stable * (i.e. on first render of a given tab). */ export function TabSwitcher({ tabKey, children }: Props) { return ( {children} ); }