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

23 lines (22 loc) 901 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 t from "react"; import { provideIntlService as s, registerForIntl as o } from "@progress/kendo-react-intl"; const m = ({ item: e, timestampTemplate: a }) => { const r = a; return /* @__PURE__ */ t.createElement("div", { className: "k-timestamp" }, r ? /* @__PURE__ */ t.createElement(r, { item: e }) : s({ props: { item: e } }).formatDate(e.timestamp, "D")); }; class n extends t.Component { render() { return /* @__PURE__ */ t.createElement(m, { ...this.props }); } } o(n); export { m as default };