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

9 lines (8 loc) 1.05 kB
/** * @license *------------------------------------------------------------------------------------------- * Copyright © 2025 Progress Software Corporation. All rights reserved. * Licensed under commercial license. See LICENSE.md in the package root for more information *------------------------------------------------------------------------------------------- */ "use strict";const c=require("react"),o=require("@progress/kendo-react-intl");function p(e){const r=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const t in e)if(t!=="default"){const a=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(r,t,a.get?a:{enumerable:!0,get:()=>e[t]})}}return r.default=e,Object.freeze(r)}const n=p(c),s=({item:e,timestampTemplate:r})=>{const t=r;return n.createElement("div",{className:"k-timestamp"},t?n.createElement(t,{item:e}):o.provideIntlService({props:{item:e}}).formatDate(e.timestamp,"D"))};class l extends n.Component{render(){return n.createElement(s,{...this.props})}}o.registerForIntl(l);module.exports=s;