UNPKG

koval-ui

Version:

React components collection with minimalistic design. Supports theming, layout, and input validation.

13 lines (12 loc) 488 B
"use client"; import { jsx as e } from "react/jsx-runtime"; import m from "./Cells.module.css.js"; import { NumberUnit as s } from "../../Number/NumberUnit.js"; const u = ({ value: l, cellContext: o, unit: r, ...t }) => { const i = o.table.options.meta?.locale; return /* @__PURE__ */ e("div", { className: m.viewNumberCell, children: /* @__PURE__ */ e(s, { ...t, unit: r, locale: i, value: Number(l) }) }); }; export { u as ViewUnitCell }; //# sourceMappingURL=ViewUnitCell.js.map