import React, { useState } from "react"; import { FaExclamationTriangle } from "react-icons/fa"; import { Button } from "@/components/ui/button"; import { X } from "lucide-react"; interface NoticeProps { message: string hidden?: boolean } const ErrorNotice = ({ message, hidden = false } : NoticeProps ) => { const [open, setOpen] = useState(true) return (
{message}