Docs/Comments to header component
This commit is contained in:
		
							parent
							
								
									cf6c8cd34c
								
							
						
					
					
						commit
						7e7dbe2cc7
					
				
					 1 changed files with 5 additions and 0 deletions
				
			
		|  | @ -1,7 +1,12 @@ | ||||||
|  | //info: Header component to display the header of the page including the logo and user information where thr user can logout
 | ||||||
| import { useState } from "react"; | import { useState } from "react"; | ||||||
| import { Link } from "react-router-dom"; | import { Link } from "react-router-dom"; | ||||||
| import backgroundImage from "../assets/1.jpg"; | import backgroundImage from "../assets/1.jpg"; | ||||||
| 
 | 
 | ||||||
|  | /** | ||||||
|  |  * Renders the header component. | ||||||
|  |  * @returns JSX.Element representing the header component. | ||||||
|  |  */ | ||||||
| function Header(): JSX.Element { | function Header(): JSX.Element { | ||||||
|   const [isOpen, setIsOpen] = useState(false); |   const [isOpen, setIsOpen] = useState(false); | ||||||
| 
 | 
 | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Davenludd
						Davenludd