/** * Two icons in one slot that cross-fade when `active` changes, such as copy to check or pending to done. Both stay * mounted, so the leaving icon animates out while the arriving one animates in. */ export function SwapIcon({ active, on, off, className = "" }: { active: boolean; on: React.ReactNode; off: React.ReactNode; className?: string }) { return ( ); }