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