@progress/kendo-react-conversational-ui
Version:
React Chat component allows the user to participate in chat sessions with users or chat bots. KendoReact Conversational UI components
25 lines (24 loc) • 1.03 kB
JavaScript
/**
* @license
*-------------------------------------------------------------------------------------------
* Copyright © 2025 Progress Software Corporation. All rights reserved.
* Licensed under commercial license. See LICENSE.md in the package root for more information
*-------------------------------------------------------------------------------------------
*/
import * as t from "react";
import { Fade as r } from "@progress/kendo-react-animation";
import { Notification as l } from "@progress/kendo-react-notification";
const c = (o) => {
const { show: e, text: n } = o, a = () => ({
position: "absolute",
top: "90%",
left: "50%",
transform: "translate(-50%, -50%)",
zIndex: 1e3,
pointerEvents: e ? "auto" : "none"
});
return /* @__PURE__ */ t.createElement("div", { style: a() }, /* @__PURE__ */ t.createElement(r, null, e && /* @__PURE__ */ t.createElement(l, { type: { style: "dark" }, closable: !1 }, /* @__PURE__ */ t.createElement("span", null, n))));
};
export {
c as default
};