fix(v2): Fix type for navlink label (#5176)

Signed-off-by: Josh-Cena <sidachen2003@gmail.com>
This commit is contained in:
Joshua Chen 2021-07-15 21:40:39 +08:00 committed by GitHub
parent f7b5e90390
commit 633c2f60dd
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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 & {