"use strict";

var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
exports.__esModule = true;
exports.SkeletonInfiniteScrollLoader = void 0;
var _react = _interopRequireDefault(require("react"));
var _mobxReactLite = require("mobx-react-lite");
var _InfiniteScrollLoaderBase = require("./InfiniteScrollLoaderBase");
var _SkeletonGrid = require("../SkeletonGrid");
var _designSystem = require("@wix/design-system");
var _jsxFileName = "/home/builduser/work/843658b9f44192f0/packages/cairo/dist/cjs/components/InfiniteScrollLoader/SkeletonInfiniteScrollLoader.tsx";
function _SkeletonInfiniteScrollLoader({
  state,
  targetRef,
  dataHook
}) {
  const {
    contentPaddingPx
  } = state.toolbar;
  return /*#__PURE__*/_react.default.createElement(_InfiniteScrollLoaderBase.InfiniteScrollLoaderBase, {
    state: state.collection,
    targetRef: targetRef,
    __self: this,
    __source: {
      fileName: _jsxFileName,
      lineNumber: 23,
      columnNumber: 5
    }
  }, /*#__PURE__*/_react.default.createElement(_designSystem.Box, {
    dataHook: dataHook,
    paddingBottom: contentPaddingPx,
    __self: this,
    __source: {
      fileName: _jsxFileName,
      lineNumber: 24,
      columnNumber: 7
    }
  }, /*#__PURE__*/_react.default.createElement(_SkeletonGrid.SkeletonGrid, {
    state: state,
    __self: this,
    __source: {
      fileName: _jsxFileName,
      lineNumber: 25,
      columnNumber: 9
    }
  })));
}
const SkeletonInfiniteScrollLoader = exports.SkeletonInfiniteScrollLoader = (0, _mobxReactLite.observer)(_SkeletonInfiniteScrollLoader);
//# sourceMappingURL=SkeletonInfiniteScrollLoader.js.map