"use strict";

exports.__esModule = true;
exports.TableGridSwitchButtonUniDriver = TableGridSwitchButtonUniDriver;
exports.default = void 0;
var _unidriver = require("@wix/design-system/dist/testkit/unidriver");
function TableGridSwitchButtonUniDriver(base, body) {
  const getSegmented = () => (0, _unidriver.SegmentedToggleUniDriver)(base, body);
  return {
    ...getSegmented(),
    clickTableButton: () => base.$$(`[data-hook="toggle-icon"]`).get(1).click(),
    clickGridButton: () => base.$$(`[data-hook="toggle-icon"]`).get(0).click()
  };
}
var _default = exports.default = TableGridSwitchButtonUniDriver;
//# sourceMappingURL=TableGridSwitchButton.uni.driver.js.map