Skip to content

Commit 50db5e3

Browse files
Create Wrapper File
1 parent 27b948f commit 50db5e3

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

src/theme/NotFound/index.tsx

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
import React, { type ReactNode } from "react";
2+
import NotFound from "@theme-original/NotFound";
3+
import type NotFoundType from "@theme/NotFound";
4+
import type { WrapperProps } from "@docusaurus/types";
5+
6+
type Props = WrapperProps<typeof NotFoundType>;
7+
8+
export default function NotFoundWrapper(props: Props): ReactNode {
9+
return (
10+
<>
11+
<NotFound {...props} />
12+
</>
13+
);
14+
}

0 commit comments

Comments
 (0)