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