import { createContext, useContext } from "solid-js";
export const NavbarContext = createContext(undefined);
export function useNavbarContext() {
    const context = useContext(NavbarContext);
    if (!context) {
        throw new Error("useNavBarContext should be used within the NavbarContext provider!");
    }
    return context;
}
