import { Fragment } from "react";
import { MdClose } from "react-icons/md";
import ReactMarkdown from "react-markdown";
import rehypeRaw from "rehype-raw";
import Button from "@/lib/components/ui/Button";
import { useNotificationBanner } from "./hooks/useNotificationBanner";
export const NotificationBanner = (): JSX.Element => {
const { notificationBanner, isDismissed, dismissNotification } =
useNotificationBanner();
if (isDismissed || notificationBanner === undefined) {
return