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;
