import _objectSpread from "@babel/runtime/helpers/objectSpread2";
import _get from "lodash/get";
export default {
  name: "pb-render-page-element-style-grid-cols",
  type: "pb-render-page-element-style",
  renderStyle: function renderStyle(_ref) {
    var element = _ref.element,
        style = _ref.style;

    var _get2 = _get(element, "data.settings", {}),
        cols = _get2.cols;

    if (!cols) {
      return style;
    }

    return _objectSpread(_objectSpread({}, style), {}, {
      cols: cols.value
    });
  }
};
//# sourceMappingURL=index.js.map