import "react";
import ReactMarkdown from "react-markdown";
import rehypeRaw from "rehype-raw";
import "./ReactMarkdown.css";

export const ReactMarkdownComponent = ({ value }: { value: string }) => {
  return (
    <div className="react-markdown-container">
      <ReactMarkdown rehypePlugins={[rehypeRaw]}>{value}</ReactMarkdown>
    </div>
  );
};
