synapse-react-client
Version:
[](https://badge.fury.io/js/synapse-react-client) [](https://github.com/prettier/prettie
31 lines (30 loc) • 781 B
JavaScript
import { jsx as t } from "react/jsx-runtime";
import { Button as i } from "@mui/material";
import { SynapseChat as r } from "./SynapseChat.js";
import { DialogBase as l } from "../DialogBase.js";
function f(o) {
const { chatbotName: n = "SynapseChat", open: a, onClose: e } = o;
return /* @__PURE__ */ t(
l,
{
title: n,
open: a,
onCancel: e,
maxWidth: "lg",
content: /* @__PURE__ */ t(
r,
{
hideTitle: !0,
textboxPositionOffset: "-24px",
...o
}
),
actions: /* @__PURE__ */ t(i, { variant: "contained", color: "primary", onClick: () => e(), children: "Close" })
}
);
}
export {
f as SynapseChatDialog,
f as default
};
//# sourceMappingURL=SynapseChatDialog.js.map