import _objectSpread from "@babel/runtime/helpers/objectSpread2";
import _get from "lodash/get";
export default {
  name: "pb-render-page-element-style-column-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$span = _get2.span,
        span = _get2$span === void 0 ? 24 : _get2$span,
        _get2$offset = _get2.offset,
        offset = _get2$offset === void 0 ? 0 : _get2$offset;

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