import isFunction from "lodash/isFunction";
export var getScrollContainer = function getScrollContainer(scrollContainer) {
  var container = isFunction(scrollContainer) ? scrollContainer() : scrollContainer;
  return container || window;
};