1
mirror of https://github.com/jakejarvis/jarv.is.git synced 2026-04-21 12:05:30 -04:00

update component prop types to use JSX.IntrinsicElements

This commit is contained in:
2022-02-09 09:37:20 -05:00
parent f205a14bdc
commit 885f97fa64
40 changed files with 280 additions and 275 deletions
+2 -2
View File
@@ -7,7 +7,7 @@ import { HomeIcon, NotesIcon, ProjectsIcon, ContactIcon } from "../Icons";
import styles from "./Menu.module.css";
type Props = {
type MenuProps = {
className?: string;
};
@@ -34,7 +34,7 @@ const links = [
},
];
const Menu = ({ className }: Props) => {
const Menu = ({ className }: MenuProps) => {
const router = useRouter();
return (