Skip to content

Commit

Permalink
Fix type for navlink label
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 0851e0e commit 2b41409
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 2b41409

Please sign in to comment.