"use strict";

var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
exports.__esModule = true;
exports.GridFoldersSectionUniDriver = GridFoldersSectionUniDriver;
var _unidriver = require("../../unidriver");
var _GridUni = _interopRequireDefault(require("./Grid.uni.driver"));
function GridFoldersSectionUniDriver(base, body) {
  const refreshLoader = () => base.$('[data-hook="refresh-loader"]');
  return {
    ...(0, _unidriver.baseUniDriverFactory)(base),
    /** Gets a [GridUniDriver]() for the section */
    grid: () => (0, _GridUni.default)(base, body),
    /** Indicates the section header exists */
    headerExists: () => base.$('[data-hook="section-header"]').exists(),
    /** Indicates a skeleton loader exists */
    refreshLoaderExists: () => refreshLoader().exists()
  };
}
//# sourceMappingURL=GridFoldersSection.uni.driver.js.map