import React, { FC } from 'react';

import clsx from 'clsx';

interface MarkdownProps {
    md: string;
    className?: string;
}

const Markdown : FC<MarkdownProps> = ({md, className}) => {

  const prerendered = (
    <div
        dangerouslySetInnerHTML={{
            __html: md
        }}
    />
  );

  return prerendered;
};

export type {
    MarkdownProps
};

export default Markdown;
