UNPKG

synapse-react-client

Version:

[![npm version](https://badge.fury.io/js/synapse-react-client.svg)](https://badge.fury.io/js/synapse-react-client) [![code style: prettier](https://img.shields.io/badge/code_style-prettier-ff69b4.svg?style=flat-square)](https://github.com/prettier/prettie

31 lines (30 loc) 781 B
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