chore: include `NavItemComponent` type in `NavItemWithChildren` items

pull/4000/head
userquin 3 months ago
parent 29a8b3669e
commit 2fc2e0dc94

@ -191,7 +191,7 @@ export namespace DefaultTheme {
export interface NavItemWithChildren { export interface NavItemWithChildren {
text?: string text?: string
items: (NavItemChildren | NavItemWithLink)[] items: (NavItemComponent | NavItemChildren | NavItemWithLink)[]
/** /**
* `activeMatch` is expected to be a regex string. We can't use actual * `activeMatch` is expected to be a regex string. We can't use actual

Loading…
Cancel
Save