One more type issue in HeaderItem

This commit is contained in:
alex 3
2023-10-22 19:02:03 -04:00
parent 9c0ec67f8b
commit 47c3adad3e
+2 -1
View File
@@ -1,9 +1,10 @@
import Link from "next/link"
import type { MouseEventHandler } from "react"
type HeaderItemProps = {
content: string,
linkTo: string,
onClick?: any, // don't even wanna bother
onClick?: MouseEventHandler<HTMLButtonElement>, // don't even wanna bother
newWindow?: boolean
}
export default function HeaderItem(props: HeaderItemProps) {