mirror of
https://github.com/UofCBaja/BajaUofCWebsite.git
synced 2025-06-15 05:14:18 -06:00
Added JSDoc comments for Header page and its helper function
This commit is contained in:
parent
befd44100f
commit
28c363309e
@ -1,6 +1,13 @@
|
||||
import { useNavigate } from "react-router-dom";
|
||||
import "./Header.css";
|
||||
|
||||
/**
|
||||
* @param {null} null - requires onthing
|
||||
* @returns {JSX.Element} JSX - HTML tags and JS functionality
|
||||
* @description Header page helper function for drop down menu
|
||||
* @author Sarim <sheikhsarim20@gmail.com>
|
||||
* @todo add css
|
||||
*/
|
||||
const DropdownMenu = () => {
|
||||
const navigate = useNavigate();
|
||||
|
||||
|
@ -5,6 +5,13 @@ import { useState } from "react";
|
||||
import { Outlet } from "react-router-dom";
|
||||
import "./Header.css";
|
||||
|
||||
/**
|
||||
* @param {null} null - requires onthing
|
||||
* @returns {JSX.Element} JSX - HTML tags and JS functionality
|
||||
* @description Header Page
|
||||
* @author Sarim <sheikhsarim20@gmail.com>
|
||||
* @todo add css and comments
|
||||
*/
|
||||
export default function Header() {
|
||||
const [isDropdownVisible, setDropdownVisible] = useState(false);
|
||||
const navigate = useNavigate();
|
||||
|
Loading…
x
Reference in New Issue
Block a user