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

23 lines (22 loc) 656 B
import { jsx as t, Fragment as r } from "react/jsx-runtime"; import o from "../../../../../synapse-queries/entity/useEntityBundle.js"; import { Skeleton as m } from "@mui/material"; import { EntityLink as a } from "../../../../EntityLink.js"; function u(i) { const { data: n, isLoading: e } = o( i.row.original.entityId, i.row.original.versionNumber ); return e ? /* @__PURE__ */ t(m, { width: 100 }) : n ? /* @__PURE__ */ t( a, { className: "EntityNameWithIconRenderer", entity: n.entity, link: !1 } ) : /* @__PURE__ */ t(r, {}); } export { u as EntityNameCell }; //# sourceMappingURL=EntityNameCell.js.map