UNPKG

koval-ui

Version:

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

27 lines (26 loc) 603 B
"use client"; import { jsx as r } from "react/jsx-runtime"; import s from "./Cells.module.css.js"; import { NumberCurrency as i } from "../../Number/NumberCurrency.js"; const p = ({ value: l, currency: o = "EUR", cellContext: m, ...t }) => { var e; const c = (e = m.table.options.meta) == null ? void 0 : e.locale; return /* @__PURE__ */ r("div", { className: s.viewNumberCell, children: /* @__PURE__ */ r( i, { ...t, locale: c, currency: o, value: Number(l) } ) }); }; export { p as ViewCurrencyCell }; //# sourceMappingURL=ViewCurrencyCell.js.map