import { jsx } from "react/jsx-runtime";
import "react";
import { observer } from "@tachybase/schema";
import { Alert } from "antd";
import { useNoticeManager } from "../../application/index.mjs";
const NoticeArea = observer((props)=>{
    const nm = useNoticeManager();
    if (nm.manager.currentStatus) return /*#__PURE__*/ jsx(Alert, {
        banner: true,
        message: nm.manager.currentStatus
    });
    return '';
}, {
    displayName: 'NoticeArea'
});
export { NoticeArea };
