lms/bootstrap/ssr/assets/Message-DFXOluuJ.js
2025-12-15 12:26:23 +01:00

11 lines
483 B
JavaScript

import { jsxs, jsx } from "react/jsx-runtime";
const Message = ({ success, error }) => {
return /* @__PURE__ */ jsxs("div", { children: [
success && /* @__PURE__ */ jsx("div", { className: "mb-4 rounded-md bg-green-100 px-5 py-3 text-center text-sm text-green-500", children: success }),
error && /* @__PURE__ */ jsx("div", { className: "mb-4 rounded-md bg-red-100 px-5 py-3 text-center text-sm text-red-500", children: error })
] });
};
export {
Message as default
};