This commit is contained in:
tmshv committed 2022-09-06 16:16:14 +03:00
1 parent aa2522ba0f
commit 30c496f249
18 files changed
+225 -214

No files matched your search

+2 -1
View File
@@ -1,8 +1,9 @@
import Link from "next/link"
export interface ActiveLinkProps {
export type ActiveLinkProps = {
href?: string
activeStyle?: React.CSSProperties
children?: React.ReactNode
}
export const ActiveLink: React.FC<ActiveLinkProps> = props => props.href
+1
View File
@@ -6,6 +6,7 @@ import { isPartOfPath } from "src/lib/url"
export type MenuItemProps = {
href: string
children?: React.ReactNode
}
export const MenuItem: React.FC<MenuItemProps> = props => {