@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
9 lines (8 loc) • 892 B
JavaScript
/**
* @license
*-------------------------------------------------------------------------------------------
* Copyright © 2025 Progress Software Corporation. All rights reserved.
* Licensed under commercial license. See LICENSE.md in the package root for more information
*-------------------------------------------------------------------------------------------
*/
;Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react"),s=require("@progress/kendo-react-buttons"),o=require("@progress/kendo-svg-icons"),d=r=>{const[t,c]=e.useState(!0),{children:a,title:n}=r;return e.createElement("div",{className:"k-prompt-expander"},e.createElement(s.Button,{fillMode:"flat",svgIcon:t?o.chevronUpIcon:o.chevronDownIcon,title:n,onClick:()=>c(!t)},n),t&&e.createElement("div",{className:"k-prompt-expander-content"},a))};exports.AIPromptExpander=d;