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:
@@ -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 (
|
||||
|
||||
Reference in New Issue
Block a user