UNPKG

synapse-react-client

Version:

[![npm version](https://badge.fury.io/js/synapse-react-client.svg)](https://badge.fury.io/js/synapse-react-client) [![code style: prettier](https://img.shields.io/badge/code_style-prettier-ff69b4.svg?style=flat-square)](https://github.com/prettier/prettie

11 lines (10 loc) 497 B
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