import React from 'react'; import { Settings, Menu } from 'lucide-react'; import { useAuth } from '../../hooks/useAuth'; interface TopBarProps { searchValue?: string; onSearchChange?: (value: string) => void; onMenuClick?: () => void; } const TopBar: React.FC = ({ searchValue, onSearchChange, onMenuClick }) => { const { user } = useAuth(); return (
{onMenuClick && ( )}

{window.location.pathname === '/dashboard' ? 'Dashboard' : window.location.pathname.split('/').pop()?.replace('Lab', ' Lab')}

Real-time deepfake & synthetic media intelligence

{/* Global Labs Search */}
onSearchChange(e.target.value) : undefined} />
K
); }; export default TopBar;