@progress/kendo-react-charts
Version:
React Chart renders a wide range of high-quality data visualizations. KendoReact Charts package
20 lines (19 loc) • 983 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 e from "react";
import { useLocalization as r } from "@progress/kendo-react-intl";
import { classNames as l } from "@progress/kendo-react-common";
import { nodata as t, messages as s } from "./messages.mjs";
const i = (a) => {
const o = r();
return /* @__PURE__ */ e.createElement("div", { className: l("k-chart-overlay", a.className), style: { display: "none", ...a.style } }, /* @__PURE__ */ e.createElement("div", { className: "k-no-data" }, a.children === void 0 ? o.toLanguageString(t, s[t]) : a.children));
};
i.displayName = "ChartNoDataOverlay";
export {
i as ChartNoDataOverlay
};