diff --git a/src/Header/Header.js b/src/Header/Header.js index 92e05fe..efc1812 100644 --- a/src/Header/Header.js +++ b/src/Header/Header.js @@ -6,7 +6,7 @@ import Ender from "../Footer/Ender"; import { useEffect, useState } from "react"; /** - * @param {useOutletContext} dict - List of items to display as the banner, more detals in UpdateBanner.jsx + * @param {null} nothing - Takes in nothing * @returns {JSX.Element} JSX - HTML tags and JS functionality * @description The top header part of the page includes the naviagtion * @author Brock diff --git a/src/Header/UpdateBanner.jsx b/src/Header/UpdateBanner.jsx index 0187395..7825eb3 100644 --- a/src/Header/UpdateBanner.jsx +++ b/src/Header/UpdateBanner.jsx @@ -6,6 +6,7 @@ import { useOutletContext } from "react-router-dom"; * @param {String} subtitleText - The text below the banner text you want * @param {String} imgUrl - The url to the image you want as the banner, by default this will be a lorem picsum * @param {String} imgAlt - The alt text for the image banner, this is required for good search results + * @param {useOutletContext} dict - List of items to display as the banner, more detals in UpdateBanner.jsx * @description The way to update the banner from the child * @example ```js RouteComponent {