koval-ui
Version:
React components collection with minimalistic design. Supports theming, layout, and input validation.
14 lines (13 loc) • 523 B
JavaScript
"use client";
import { jsx as r } from "react/jsx-runtime";
import c from "./Cells.module.css.js";
import { NumberPercent as s } from "../../Number/NumberPercent.js";
const u = ({ value: l, cellContext: o, ...t }) => {
var e;
const m = (e = o.table.options.meta) == null ? void 0 : e.locale;
return /* @__PURE__ */ r("div", { className: c.viewNumberCell, children: /* @__PURE__ */ r(s, { ...t, locale: m, value: Number(l) }) });
};
export {
u as ViewPercentageCell
};
//# sourceMappingURL=ViewPercentageCell.js.map