@julseb-lib/react 0.1.44 → 0.1.45

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.cjs CHANGED
@@ -11653,11 +11653,11 @@ var CodeContainer = (_a) => {
11653
11653
  var _b = _a, {
11654
11654
  children,
11655
11655
  code,
11656
- hideNumbers
11656
+ showNumbers
11657
11657
  } = _b, rest = __objRest(_b, [
11658
11658
  "children",
11659
11659
  "code",
11660
- "hideNumbers"
11660
+ "showNumbers"
11661
11661
  ]);
11662
11662
  const [hasCopied, setHasCopied] = (0, import_react56.useState)(false);
11663
11663
  const copyToClipboard = () => {
@@ -11678,7 +11678,7 @@ var CodeContainer = (_a) => {
11678
11678
  style,
11679
11679
  className: "relative max-w-full overflow-x-scroll",
11680
11680
  children: tokens.map((line, i) => /* @__PURE__ */ (0, import_jsx_runtime130.jsxs)("div", __spreadProps(__spreadValues({}, getLineProps({ line })), { children: [
11681
- !hideNumbers && /* @__PURE__ */ (0, import_jsx_runtime130.jsx)("span", { className: "mr-6", children: i + 1 }),
11681
+ showNumbers && /* @__PURE__ */ (0, import_jsx_runtime130.jsx)("span", { className: "mr-6", children: i + 1 }),
11682
11682
  line.map((token, key) => /* @__PURE__ */ (0, import_jsx_runtime130.jsx)(
11683
11683
  "span",
11684
11684
  __spreadValues({}, getTokenProps({ token })),