import { GrayMatterFile } from "gray-matter"; import React from "react"; import Markdown from "react-markdown"; import remarkGfm from "remark-gfm"; export const NewsModal = ({ show, setShow, news, }: { show: boolean; setShow: React.Dispatch>; news: GrayMatterFile; }) => { return (
{news && ( {news.content} )}
); };