@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
17 lines (16 loc) • 748 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
*-------------------------------------------------------------------------------------------
*/
import * as a from "react";
import { useInternationalization as o } from "@progress/kendo-react-intl";
const s = ({ item: t, timestampTemplate: m }) => {
const n = o(), e = m;
return /* @__PURE__ */ a.createElement("div", { className: "k-timestamp" }, e ? /* @__PURE__ */ a.createElement(e, { item: t }) : n.formatDate(t.timestamp, "D"));
};
export {
s as default
};