UNPKG

koval-ui

Version:

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

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