import { useModal as r } from "./useModal.js";
import e from "../../components/2_modals/Modal/Modal.vue.js";
const n = async (t, a) => {
  const o = await r({
    //в component должен быть встроен emit change(key: value)
    component: import("../../components/2_modals/CreateChat/CreateChat.vue.js"),
    attrs: {
      title: t
    },
    Modal: e,
    modalAttrs: {
      theme: a
    }
  });
  return console.log("data", o), o;
};
export {
  n as useModalCreateChat
};
