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

16 lines (15 loc) 539 B
import { jsx as e } from "react/jsx-runtime"; import r from "../../../../../synapse-queries/entity/useEntityBundle.js"; import { Skeleton as l } from "@mui/material"; import { DateCell as d } from "./DateCell.js"; function s(t) { const { row: i } = t, { data: o, isLoading: n } = r( i.original.entityId, i.original.versionNumber ); return n ? /* @__PURE__ */ e(l, { width: 100 }) : /* @__PURE__ */ e(d, { ...t, cellData: o?.entity.modifiedOn }); } export { s as ModifiedOnCell }; //# sourceMappingURL=ModifiedOnCell.js.map