From f1f25f4764dd8d297a59765b0df85f55da2b39ee Mon Sep 17 00:00:00 2001
From: flu0r1ne <flu0r1ne@flu0r1ne.net>
Date: Mon, 19 Jul 2021 21:08:50 -0500
Subject: Init

---
 templates/MarkdownPage/index.tsx | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)
 create mode 100644 templates/MarkdownPage/index.tsx

(limited to 'templates/MarkdownPage/index.tsx')

diff --git a/templates/MarkdownPage/index.tsx b/templates/MarkdownPage/index.tsx
new file mode 100644
index 0000000..22b531e
--- /dev/null
+++ b/templates/MarkdownPage/index.tsx
@@ -0,0 +1,20 @@
+import React, { FC } from "react";
+import Markdown from "../../components/Markdown";
+import DefaultPage  from "../Default";
+
+export type Props = {
+    path?: string;
+    md: string;
+};
+
+const MarkdownPage : FC<Props> = ({path, md, ...props}) => (
+    <DefaultPage
+        path={path}
+    >
+        <Markdown
+            md={md}
+        />
+    </DefaultPage>
+);
+
+export default MarkdownPage;
\ No newline at end of file
-- 
cgit v1.2.3

