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

18 lines (17 loc) 590 B
import { jsxs as o, Fragment as i, jsx as e } from "react/jsx-runtime"; import { useMemo as s } from "react"; import m from "../IconSvg/IconSvg.js"; const d = (r) => { const n = r.targetVersionNumber ? `.${r.targetVersionNumber}` : "", t = `${r.targetId}${n}`; return s( () => /* @__PURE__ */ o(i, { children: [ /* @__PURE__ */ e("div", { children: /* @__PURE__ */ e(m, { icon: "fileOutlined" }) }), /* @__PURE__ */ e("span", { children: t }) ] }), [t] ); }; export { d as EntityPlaceholderNodeLabel }; //# sourceMappingURL=EntityPlaceholderNodeLabel.js.map