Skip to content

Commit

Permalink
fix(v2): Fix type for navlink label (#5176)
Browse files Browse the repository at this point in the history
Signed-off-by: Josh-Cena <sidachen2003@gmail.com>
  • Loading branch information
Josh-Cena committed Jul 15, 2021
1 parent f7b5e90 commit 633c2f6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/docusaurus-theme-classic/src/types.d.ts
Expand Up @@ -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 & {
Expand Down

0 comments on commit 633c2f6

Please sign in to comment.