import type { IconDefinition } from "@fortawesome/fontawesome-svg-core";
import { FontAwesomeIcon } from "@fortawesome/react-fontawesome";
import { Link, useLocation } from "wouter";
interface Props {
path: string;
label: string;
icon: IconDefinition;
}
export function MenuItem({ path, label, icon }: Props) {
const [location] = useLocation();
const isActive = location === path;
return (
{label}
);
}