"use client";
import PropTypes from "prop-types";
import ReactMarkdown from "react-markdown";
import { Prism as SyntaxHighlighter } from "react-syntax-highlighter";
import oneDark from "react-syntax-highlighter/dist/esm/styles/prism/one-dark";
export default function Markdown({ value }: { value: any }) {
  return (
    
          ) : (
            
              {children}
            
          );
        },
      }}
    />
  );
}
Markdown.propTypes = {
  value: PropTypes.string.isRequired,
};