aboutsummaryrefslogtreecommitdiff
path: root/templates/MarkdownPage/index.tsx
blob: 22b531e4c5b20b06e5ba223ecac6a12b527056aa (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
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;