@sikka/hawa 0.12.8-next → 0.12.9-next
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.d.mts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
package/dist/index.d.ts
CHANGED
package/dist/index.js
CHANGED
|
@@ -5590,7 +5590,7 @@ var BackToTop = function(_param) {
|
|
|
5590
5590
|
// components/elements/ScrollIndicator.tsx
|
|
5591
5591
|
var import_react27 = __toESM(require("react"));
|
|
5592
5592
|
var ScrollIndicator = function(param) {
|
|
5593
|
-
var anchor = param.anchor,
|
|
5593
|
+
var anchor = param.anchor, _param_inContainer = param.inContainer, inContainer = _param_inContainer === void 0 ? false : _param_inContainer;
|
|
5594
5594
|
var _ref = _sliced_to_array((0, import_react27.useState)(0), 2), scrollPercentage = _ref[0], setScrollPercentage = _ref[1];
|
|
5595
5595
|
var onScroll = function() {
|
|
5596
5596
|
var scrollElement = anchor.current;
|
package/dist/index.mjs
CHANGED
|
@@ -5288,7 +5288,7 @@ var BackToTop = ({ ...props }) => {
|
|
|
5288
5288
|
import React45, { useState as useState18, useEffect as useEffect13 } from "react";
|
|
5289
5289
|
var ScrollIndicator = ({
|
|
5290
5290
|
anchor,
|
|
5291
|
-
inContainer
|
|
5291
|
+
inContainer = false
|
|
5292
5292
|
}) => {
|
|
5293
5293
|
const [scrollPercentage, setScrollPercentage] = useState18(0);
|
|
5294
5294
|
const onScroll = () => {
|