import { jsxs as m, jsx as r } from "react/jsx-runtime";
import { t as i } from "../../classix-DG18itHa.js";
import { Icon as n } from "../icon/index.js";
import '../../assets/index40.css';const p = "_message_1whow_1", c = "_preview_1whow_40", s = {
  message: p,
  preview: c
}, _ = ({
  content: t,
  id: a,
  preview: o,
  type: e = "default"
}) => /* @__PURE__ */ m("div", { className: i(s.message, o && s.preview), "data-id": a, "data-type": e, "data-component": "message", children: [
  e == "system" && /* @__PURE__ */ r(n, { gap: "right", name: "info" }),
  t
] });
export {
  _ as Message
};
//# sourceMappingURL=index.js.map
