Skip to content

Commit

Permalink
feat: introducing swizzled NavBar wrapper component
Browse files Browse the repository at this point in the history
  • Loading branch information
CMCDragonkai committed Nov 8, 2022
1 parent ef9b215 commit ba3cb6d
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions src/theme/Navbar/index.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
import type NavbarType from '@theme/Navbar';
import type { WrapperProps } from '@docusaurus/types';
import React from 'react';
import Navbar from '@theme-original/Navbar';

type Props = WrapperProps<typeof NavbarType>;

export default function NavbarWrapper(props: Props): JSX.Element {
return (
<>
<Navbar {...props} />
</>
);
}

0 comments on commit ba3cb6d

Please sign in to comment.