@hitachivantara/uikit-react-core
Version:
Core React components for the NEXT Design System.
17 lines (16 loc) • 459 B
JavaScript
;
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
const jsxRuntime = require("react/jsx-runtime");
const CounterLabel = ({
selected,
total,
conjunctionLabel = "/",
...others
}) => {
return /* @__PURE__ */ jsxRuntime.jsxs("span", { ...others, children: [
/* @__PURE__ */ jsxRuntime.jsx("b", { children: selected }),
" ",
` ${conjunctionLabel} ${total}`
] });
};
exports.CounterLabel = CounterLabel;