mirror of
https://github.com/facebook/docusaurus.git
synced 2025-05-29 17:07:08 +02:00
fix(v2): Fix type for navlink label (#5176)
Signed-off-by: Josh-Cena <sidachen2003@gmail.com>
This commit is contained in:
parent
f7b5e90390
commit
633c2f60dd
1 changed files with 1 additions and 0 deletions
|
@ -334,6 +334,7 @@ declare module '@theme/Navbar' {
|
|||
}
|
||||
|
||||
declare module '@theme/NavbarItem/DefaultNavbarItem' {
|
||||
import type {ReactNode} from 'react';
|
||||
import type {LinkProps} from '@docusaurus/Link';
|
||||
|
||||
export type NavLinkProps = LinkProps & {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue