react 18
This commit is contained in:
1 parent
aa2522ba0f
commit
30c496f249
18 files changed
+225
-214
No files matched your search
@@ -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
|
||||
|
||||
@@ -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 => {
|
||||
|
||||
Reference in new issue
Block a user