@julseb-lib/react 0.1.79 → 0.1.80
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 +2 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +2 -1
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -69343,7 +69343,7 @@ var import_jsx_runtime364 = require("react/jsx-runtime");
|
|
|
69343
69343
|
var BackToTop = ({
|
|
69344
69344
|
className,
|
|
69345
69345
|
ref,
|
|
69346
|
-
icon = /* @__PURE__ */ (0, import_jsx_runtime364.jsx)(import_bi24.BiUpArrowAlt, {}),
|
|
69346
|
+
icon = /* @__PURE__ */ (0, import_jsx_runtime364.jsx)(import_bi24.BiUpArrowAlt, { size: 32 }),
|
|
69347
69347
|
color = "primary",
|
|
69348
69348
|
tooltip = "Back to top",
|
|
69349
69349
|
showTooltip,
|
|
@@ -69377,6 +69377,7 @@ var BackToTop = ({
|
|
|
69377
69377
|
className: clsx(
|
|
69378
69378
|
isVisible ? "opacity-100 visible " : "opacity-0 invisible",
|
|
69379
69379
|
genRingColor[color],
|
|
69380
|
+
!showTooltip && "fixed bottom-5 right-5",
|
|
69380
69381
|
"back-to-top",
|
|
69381
69382
|
className
|
|
69382
69383
|
),
|