import _objectSpread from "@babel/runtime/helpers/objectSpread2";
import * as React from "react";
import { createBlock } from "../../../utils";
import _preview from "./preview.png";
export default {
  name: "pb-editor-block-empty",
  type: "pb-editor-block",
  category: "general",
  title: "Empty block",
  create: function create() {
    var options = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
    return createBlock(_objectSpread({
      elements: []
    }, options));
  },
  image: {
    meta: {
      width: 500,
      height: 73,
      aspectRatio: 500 / 73
    }
  },
  preview: function preview() {
    return /*#__PURE__*/React.createElement("img", {
      src: _preview,
      alt: "Empty block"
    });
  }
};
//# sourceMappingURL=index.js.map