// Header.tsx import React, { useState } from 'react'; import Login from './Login'; interface HeaderProps { onViewChange: (view: 'AI' | 'FAQ' | 'Documentation') => void; showDivs: boolean; toggleDivs: () => void; showHistoryModelsToggle: boolean; showToggle: boolean; // Add this prop } const Header: React.FC = ({ onViewChange, showDivs, toggleDivs, showHistoryModelsToggle, showToggle }) => { const [menuOpen, setMenuOpen] = useState(false) const toggleMenu = () => { setMenuOpen(!menuOpen) } return ( <>
{/* */}
); }; export default Header;