synapse-react-client
Version:
[](https://badge.fury.io/js/synapse-react-client) [](https://github.com/prettier/prettie
11 lines (10 loc) • 497 B
JavaScript
import { jsx as e, Fragment as n } from "react/jsx-runtime";
import { Typography as i } from "@mui/material";
function o(t) {
const { value: r } = t;
return r === null ? /* @__PURE__ */ e(i, { variant: "smallText1", className: "SRC-inactive", children: "<null value>" }) : typeof r == "number" ? /* @__PURE__ */ e(n, { children: r.toLocaleString() }) : /* @__PURE__ */ e(n, { children: String(r) });
}
export {
o as JSONPrimitiveRenderer
};
//# sourceMappingURL=JSONPrimitiveRenderer.js.map