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) 537 B
import { jsx as r } from "react/jsx-runtime"; import o from "../../../../../synapse-queries/entity/useEntityBundle.js"; import { Skeleton as l } from "@mui/material"; import { DateCell as a } from "./DateCell.js"; function c(t) { const { row: e } = t, { data: n, isLoading: i } = o( e.original.entityId, e.original.versionNumber ); return i ? /* @__PURE__ */ r(l, { width: 100 }) : /* @__PURE__ */ r(a, { ...t, cellData: n?.entity?.createdOn }); } export { c as CreatedOnCell }; //# sourceMappingURL=CreatedOnCell.js.map