UNPKG

@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

20 lines (19 loc) 676 B
/** * @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 e from "react"; import { useContext as o } from "react"; const r = e.createContext(void 0), a = () => { const t = o(r); if (t === void 0) throw new Error("useChatContext must be used within a ChatContext.Provider"); return t; }; export { r as default, a as useChatContext };