'use strict';

Object.defineProperty(exports, '__esModule', { value: true });

var getWindow = require('./getWindow.js');

function getWindowScroll(node) {
  var win = getWindow.default(node);
  var scrollLeft = win.pageXOffset;
  var scrollTop = win.pageYOffset;
  return {
    scrollLeft: scrollLeft,
    scrollTop: scrollTop
  };
}

exports.default = getWindowScroll;
//# sourceMappingURL=getWindowScroll.js.map
