import { type ComponentProps } from "react"; import MarkdownComponent from "react-markdown"; import { MARKDOWN_COMPONENTS } from "../../markdown-components"; type Props = Omit, "components"> & { inline?: boolean | undefined; }; export const Markdown = ({ inline, ...props }: Props) => inline ? ( <>{children}, }} {...props} /> ) : (
);