aboutsummaryrefslogtreecommitdiff
path: root/templates/MarkdownPage/index.tsx
blob: 11ae9ceb2a767f37c23485f104854de50c112e69 (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;