indicator-ui 0.0.241 → 0.0.242

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.js CHANGED
@@ -25810,16 +25810,16 @@ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" ==
25810
25810
  /**
25811
25811
  * Компонент для отслеживания скролла в разных обстоятельствах.
25812
25812
  * */
25813
- function ScrollProvider(_ref) {
25814
- var onScroll = _ref.onScroll,
25815
- onScrollTop = _ref.onScrollTop,
25816
- onScrollBottom = _ref.onScrollBottom,
25817
- children = _ref.children,
25818
- _ref$accuracy = _ref.accuracy,
25819
- accuracy = _ref$accuracy === void 0 ? 10 : _ref$accuracy,
25820
- _ref$wrapper = _ref.wrapper,
25821
- wrapper = _ref$wrapper === void 0 ? (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("div", {}) : _ref$wrapper,
25822
- className = _ref.className;
25813
+ var ScrollProvider = /*#__PURE__*/(0,react__WEBPACK_IMPORTED_MODULE_1__.forwardRef)(function (props, ref) {
25814
+ var onScroll = props.onScroll,
25815
+ onScrollTop = props.onScrollTop,
25816
+ onScrollBottom = props.onScrollBottom,
25817
+ children = props.children,
25818
+ _props$accuracy = props.accuracy,
25819
+ accuracy = _props$accuracy === void 0 ? 10 : _props$accuracy,
25820
+ _props$wrapper = props.wrapper,
25821
+ wrapper = _props$wrapper === void 0 ? (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("div", {}) : _props$wrapper,
25822
+ className = props.className;
25823
25823
  var elementRef = (0,react__WEBPACK_IMPORTED_MODULE_1__.useRef)(null);
25824
25824
  (0,react__WEBPACK_IMPORTED_MODULE_1__.useEffect)(function () {
25825
25825
  if (elementRef.current) {
@@ -25868,7 +25868,7 @@ function ScrollProvider(_ref) {
25868
25868
  ref: elementRef,
25869
25869
  children: children
25870
25870
  }, classNameProps));
25871
- }
25871
+ });
25872
25872
 
25873
25873
  /***/ }),
25874
25874