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

21 lines (20 loc) 463 B
import { jsx as e, Fragment as t, jsxs as m } from "react/jsx-runtime"; import i from "pluralize"; import { useMemo as n } from "react"; const l = (o) => { const { itemCount: r } = o; return n( () => /* @__PURE__ */ e(t, { children: /* @__PURE__ */ m("a", { children: [ "Show ", r, " ", i("item", r), "…" ] }) }), [r] ); }; export { l as ExpandGraphNodeLabel }; //# sourceMappingURL=ExpandGraphNodeLabel.js.map