@hitachivantara/uikit-react-core
Version:
Core React components for the NEXT Design System.
17 lines (16 loc) • 338 B
JavaScript
import { jsxs, jsx } from "react/jsx-runtime";
const CounterLabel = ({
selected,
total,
conjunctionLabel = "/",
...others
}) => {
return /* @__PURE__ */ jsxs("span", { ...others, children: [
/* @__PURE__ */ jsx("b", { children: selected }),
" ",
` ${conjunctionLabel} ${total}`
] });
};
export {
CounterLabel
};